diff options
Diffstat (limited to 'ext/session/session.c')
| -rw-r--r-- | ext/session/session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/session/session.c b/ext/session/session.c index 013754301c..5fad364eaf 100644 --- a/ext/session/session.c +++ b/ext/session/session.c @@ -536,7 +536,7 @@ static char *_php_create_id(int *newlen PSLS_DC) if (PS(entropy_length) > 0) { int fd; - fd = V_OPEN((PS(entropy_file), O_RDONLY)); + fd = VCWD_OPEN((PS(entropy_file), O_RDONLY)); if (fd >= 0) { char *p; int n; @@ -652,7 +652,7 @@ static void last_modified(void) path = SG(request_info).path_translated; if (path) { - if (V_STAT(path, &sb) == -1) { + if (VCWD_STAT(path, &sb) == -1) { return; } |
