Now opened_path is a zend_string

This commit is contained in:
Reeze Xia 2015-03-09 16:12:53 +08:00
parent f66bef2414
commit 2a2c74997d

View 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];