Skip to content

Commit

Permalink
VCWD_ACCESS does not work on win32 :/
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia Alshanetsky committed Aug 11, 2006
1 parent 4baade0 commit 5d057a8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ext/session/mod_files.c
Expand Up @@ -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;
}
}
}

Expand Down

0 comments on commit 5d057a8

Please sign in to comment.