diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2006-08-11 15:04:28 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2006-08-11 15:04:28 +0000 |
commit | 5d057a8790366c26e352454292f2896aa63b4cda (patch) | |
tree | 107f87c12bc8b3179ef7838e2c14f4bc4257d383 | |
parent | 4baade098ff1ec8bd32c7336f845aac57a5eb335 (diff) | |
download | php-git-5d057a8790366c26e352454292f2896aa63b4cda.tar.gz |
VCWD_ACCESS does not work on win32 :/
-rw-r--r-- | ext/session/mod_files.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c index e1485d586e..f7bbc20d84 100644 --- a/ext/session/mod_files.c +++ b/ext/session/mod_files.c @@ -371,9 +371,10 @@ PS_DESTROY_FUNC(files) /* This is a little safety check for instances when we are dealing with a regenerated session * that was not yet written to disk */ - if (!VCWD_ACCESS(buf, F_OK)) { +#ifndef PHP_WIN32 + if (!VCWD_ACCESS(buf, F_OK)) +#endif return FAILURE; - } } } |