com php-src: Now opened_path is a zend_string: sa pi/phpdbg/phpdbg_list.c

From: Date: Mon, 09 Mar 2015 08:12:53 +0000
Subject: com php-src: Now opened_path is a zend_string: sa pi/phpdbg/phpdbg_list.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85389@lists.php.net to get a copy of this message
Commit: 2a2c74997dd754b27c5d890c0025001878318664 Author: Reeze Xia <reeze@php.net> Mon, 9 Mar 2015 16:12:53 +0800 Parents: f66bef2414e3907129eeaea2b902e813aaf4f4b5 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2a2c74997dd754b27c5d890c0025001878318664 Log: Now opened_path is a zend_string Changed paths: M sapi/phpdbg/phpdbg_list.c Diff: diff --git a/sapi/phpdbg/phpdbg_list.c b/sapi/phpdbg/phpdbg_list.c index b2a621e..252756f 100644 --- a/sapi/phpdbg/phpdbg_list.c +++ b/sapi/phpdbg/phpdbg_list.c @@ -235,7 +235,7 @@ zend_op_array *phpdbg_compile_file(zend_file_handle *file, int type) { phpdbg_file_source data, *dataptr; zend_file_handle fake = {{0}}; zend_op_array *ret; - char *filename = (char *)(file->opened_path ? file->opened_path : file->filename); + char *filename = (char *)(file->opened_path ? file->opened_path->val : file->filename); uint line; char *bufptr, *endptr; char resolved_path_buf[MAXPATHLEN];

« previous php.cvs (#85389) next »