From 6711276b3cef15fd247e8d4c09021e3c1fa04c96 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Sat, 19 Sep 2009 20:54:34 +0000 Subject: - fix ACL cache for read check --- TSRM/tsrm_win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'TSRM/tsrm_win32.c') 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; } -- cgit v1.2.1