mirror of
https://github.com/php/php-src.git
synced 2024-11-23 09:54:15 +08:00
Fix bug 13143
This commit is contained in:
parent
29312b2ec8
commit
23c0362aec
@ -553,7 +553,7 @@ CWD_API int virtual_open(const char *path TSRMLS_DC, int flags, ...)
|
||||
va_list arg;
|
||||
|
||||
va_start(arg, flags);
|
||||
mode = va_arg(arg, mode_t);
|
||||
mode = (mode_t) va_arg(arg, int);
|
||||
va_end(arg);
|
||||
|
||||
f = open(new_state.cwd, flags, mode);
|
||||
|
Loading…
Reference in New Issue
Block a user