From: Reeze Xia Date: Mon, 9 Mar 2015 08:12:53 +0000 (+0800) Subject: Now opened_path is a zend_string X-Git-Tag: PRE_PHP7_NSAPI_REMOVAL~745 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a2c74997dd754b27c5d890c0025001878318664;p=php Now opened_path is a zend_string --- diff --git a/sapi/phpdbg/phpdbg_list.c b/sapi/phpdbg/phpdbg_list.c index b2a621e561..252756fcb7 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];