From a4aef06b349b973dfb24d25cfb76002708a50683 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Sat, 19 Sep 2009 20:54:34 +0000 Subject: [PATCH] - fix ACL cache for read check --- TSRM/tsrm_win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TSRM/tsrm_win32.c b/TSRM/tsrm_win32.c index 4683053e43..2a8503e82c 100644 --- a/TSRM/tsrm_win32.c +++ b/TSRM/tsrm_win32.c @@ -201,7 +201,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; } -- 2.50.1