From be00d130e6006c121c0a2461946b4e02e9a9e30b Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sun, 30 Apr 2000 03:06:00 +0000 Subject: Fix virtual_open() by adding ellipse --- main/php_virtual_cwd.c | 2 +- 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 -- cgit v1.2.1