From 2a2c74997dd754b27c5d890c0025001878318664 Mon Sep 17 00:00:00 2001 From: Reeze Xia Date: Mon, 9 Mar 2015 16:12:53 +0800 Subject: [PATCH] Now opened_path is a zend_string --- sapi/phpdbg/phpdbg_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.50.1