]> granicus.if.org Git - php/commitdiff
Now opened_path is a zend_string
authorReeze Xia <reeze@php.net>
Mon, 9 Mar 2015 08:12:53 +0000 (16:12 +0800)
committerReeze Xia <reeze@php.net>
Mon, 9 Mar 2015 08:12:53 +0000 (16:12 +0800)
sapi/phpdbg/phpdbg_list.c

index b2a621e56160a403a2c2077bb98b65d32cdcf4b1..252756fcb7e1a1bfd4f9b4864b3bae8ce4e1fcb3 100644 (file)
@@ -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];