com php-src: use already exported symbol: sapi/phpdbg/phpdbg_ prompt.c
| From: | Anatol Belski | Date: | Thu, 13 Oct 2016 07:55:37 +0000 |
| Subject: | com php-src: use already exported symbol: sapi/phpdbg/phpdbg_ prompt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95009@lists.php.net to get a copy of this message | ||
Commit: ce3e792c2c4c251fd5963a36af5ad4a9dd875085
Author: Anatol Belski <ab@php.net> Thu, 13 Oct 2016 09:55:37 +0200
Parents: 3104882cf873308c43dca20bdfd698dd3470a246
Branches: PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ce3e792c2c4c251fd5963a36af5ad4a9dd875085
Log:
use already exported symbol
Changed paths:
M sapi/phpdbg/phpdbg_prompt.c
Diff:
diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c
index a0623e1..c126ce2 100644
--- a/sapi/phpdbg/phpdbg_prompt.c
+++ b/sapi/phpdbg/phpdbg_prompt.c
@@ -544,7 +544,7 @@ int phpdbg_compile_stdin(zend_string *code) {
PHPDBG_G(exec_len) = 1;
{ /* remove leading ?> from source */
int i;
- zend_string *source_path = zend_strpprintf(0, "-%c%p", 0, PHPDBG_G(ops)->opcodes);
+ zend_string *source_path = strpprintf(0, "-%c%p", 0, PHPDBG_G(ops)->opcodes);
phpdbg_file_source *data = zend_hash_find_ptr(&PHPDBG_G(file_sources), source_path);
dtor_func_t dtor = PHPDBG_G(file_sources).pDestructor;
PHPDBG_G(file_sources).pDestructor = NULL;