mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- fix ACL cache for read check
This commit is contained in:
parent
f7096da972
commit
6711276b3c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue