diff options
author | Sascha Schumann <sas@php.net> | 2000-04-30 03:06:00 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2000-04-30 03:06:00 +0000 |
commit | be00d130e6006c121c0a2461946b4e02e9a9e30b (patch) | |
tree | 9b894a3f7a51b2c9f200f9c38994af6d858bce34 /main | |
parent | ace102eb00ad7b979791a4d0a739a5ec7ab0813c (diff) | |
download | php-git-be00d130e6006c121c0a2461946b4e02e9a9e30b.tar.gz |
Fix virtual_open() by adding ellipse
Diffstat (limited to 'main')
-rw-r--r-- | main/php_virtual_cwd.c | 2 | ||||
-rw-r--r-- | main/php_virtual_cwd.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/main/php_virtual_cwd.c b/main/php_virtual_cwd.c index 5aa3ba86f9..0204e9268e 100644 --- a/main/php_virtual_cwd.c +++ b/main/php_virtual_cwd.c @@ -393,7 +393,7 @@ CWD_API FILE *virtual_fopen(const char *path, const char *mode) return f; } -CWD_API int virtual_open(const char *path, int flags) +CWD_API int virtual_open(const char *path, int flags, ...) { cwd_state new_state; int f; diff --git a/main/php_virtual_cwd.h b/main/php_virtual_cwd.h index 47d75e7006..44745557c6 100644 --- a/main/php_virtual_cwd.h +++ b/main/php_virtual_cwd.h @@ -42,7 +42,7 @@ CWD_API int virtual_chdir(char *path); CWD_API int virtual_chdir_file(char *path); CWD_API int virtual_filepath(char *path, char **filepath); CWD_API FILE *virtual_fopen(const char *path, const char *mode); -CWD_API int virtual_open(const char *path, int flags); +CWD_API int virtual_open(const char *path, int flags, ...); CWD_API int virtual_creat(const char *path, mode_t mode); CWD_API int virtual_stat(const char *path, struct stat *buf); #ifndef ZEND_WIN32 |