com php-src: use already exported symbol: sapi/phpdbg/phpdbg_ prompt.c
| From: | Anatol Belski | Date: | Fri, 14 Oct 2016 00:01:22 +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-95042@lists.php.net to get a copy of this message | ||
Commit: 5ce223026649cf6de1fdd20bb973d034885b7295
Author: Anatol Belski <ab@php.net> Thu, 13 Oct 2016 09:55:37 +0200
Parents: ee425297506cb7248085b2bfcddf264af3953d6f
Branches: PHP-7.1
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5ce223026649cf6de1fdd20bb973d034885b7295
Log:
use already exported symbol
(cherry picked from commit ce3e792c2c4c251fd5963a36af5ad4a9dd875085)
Changed paths:
M sapi/phpdbg/phpdbg_prompt.c
Diff:
diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c
index c6115e7..35ee433 100644
--- a/sapi/phpdbg/phpdbg_prompt.c
+++ b/sapi/phpdbg/phpdbg_prompt.c
@@ -543,7 +543,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;