diff options
author | Pierre Joye <pajoye@php.net> | 2009-09-19 20:54:34 +0000 |
---|---|---|
committer | Pierre Joye <pajoye@php.net> | 2009-09-19 20:54:34 +0000 |
commit | 6711276b3cef15fd247e8d4c09021e3c1fa04c96 (patch) | |
tree | 9ff108c5ab8cde2504566c95aae147b86ee89b47 | |
parent | f7096da97230b25224c4b9306210f7825d57413d (diff) | |
download | php-git-6711276b3cef15fd247e8d4c09021e3c1fa04c96.tar.gz |
- fix ACL cache for read check
-rw-r--r-- | TSRM/tsrm_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TSRM/tsrm_win32.c b/TSRM/tsrm_win32.c index 58216efa9d..dedf05330a 100644 --- a/TSRM/tsrm_win32.c +++ b/TSRM/tsrm_win32.c @@ -200,7 +200,7 @@ TSRM_API int tsrm_win32_access(const char *pathname, int mode) /* Keep the result in realpath_cache */ if(bucket != NULL) { - if(desired_access == FILE_GENERIC_READ) { + if(desired_access == (FILE_GENERIC_READ|FILE_FLAG_BACKUP_SEMANTICS)) { bucket->is_rvalid = 1; bucket->is_readable = fAccess; } |