summaryrefslogtreecommitdiff
path: root/TSRM/tsrm_win32.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-09-19 20:54:34 +0000
committerPierre Joye <pajoye@php.net>2009-09-19 20:54:34 +0000
commit6711276b3cef15fd247e8d4c09021e3c1fa04c96 (patch)
tree9ff108c5ab8cde2504566c95aae147b86ee89b47 /TSRM/tsrm_win32.c
parentf7096da97230b25224c4b9306210f7825d57413d (diff)
downloadphp-git-6711276b3cef15fd247e8d4c09021e3c1fa04c96.tar.gz
- fix ACL cache for read check
Diffstat (limited to 'TSRM/tsrm_win32.c')
-rw-r--r--TSRM/tsrm_win32.c2
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;
}