summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-08-27 18:01:17 +0000
committerAndi Gutmans <andi@php.net>2000-08-27 18:01:17 +0000
commit39770d99ead0aecbfae14d213d924f11f5576032 (patch)
treedb2d561c65660181964e1545f8112ad664cd5461 /main/php.h
parent66dfb8aac10d1a9d482968e7fa62bddb677cb8ed (diff)
downloadphp-git-39770d99ead0aecbfae14d213d924f11f5576032.tar.gz
- Try and fix problem with opening wrong file.
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/php.h b/main/php.h
index 843dc243db..4d57925597 100644
--- a/main/php.h
+++ b/main/php.h
@@ -316,7 +316,7 @@ PHPAPI int cfg_get_string(char *varname, char **result);
#define V_OPEN(open_args) virtual_open open_args
#define V_CREAT(path, mode) virtual_creat(path, mode)
#define V_CHDIR(path) virtual_chdir(path)
-#define V_CHDIR_FILE(path) virtual_chdir_file(path)
+#define V_CHDIR_FILE(path) virtual_chdir_file(path, virtual_chdir)
#define V_GETWD(buf)
#define V_REALPATH(path,real_path) virtual_realpath(path,real_path)
#define V_STAT(path, buff) virtual_stat(path, buff)
@@ -344,7 +344,7 @@ PHPAPI int cfg_get_string(char *varname, char **result);
#define V_OPEN(open_args) open open_args
#define V_CREAT(path, mode) creat(path, mode)
#define V_CHDIR(path) chdir(path)
-#define V_CHDIR_FILE(path) virtual_real_chdir_file(path)
+#define V_CHDIR_FILE(path) virtual_real_chdir_file(path, chdir)
#define V_GETWD(buf) getwd(buf)
#define V_STAT(path, buff) stat(path, buff)
#define V_LSTAT(path, buff) lstat(path, buff)