pajoye Sat, 19 Sep 2009 20:54:34 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=288462
Log:
- fix ACL cache for read check
Changed paths:
U php/php-src/branches/PHP_5_3/TSRM/tsrm_win32.c
U php/php-src/trunk/TSRM/tsrm_win32.c
Modified: php/php-src/branches/PHP_5_3/TSRM/tsrm_win32.c
===================================================================
--- php/php-src/branches/PHP_5_3/TSRM/tsrm_win32.c 2009-09-19 18:54:33 UTC
(rev 288461)
+++ php/php-src/branches/PHP_5_3/TSRM/tsrm_win32.c 2009-09-19 20:54:34 UTC
(rev 288462)
@@ -200,7 +200,7 @@
/* 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;
}
Modified: php/php-src/trunk/TSRM/tsrm_win32.c
===================================================================
--- php/php-src/trunk/TSRM/tsrm_win32.c 2009-09-19 18:54:33 UTC (rev 288461)
+++ php/php-src/trunk/TSRM/tsrm_win32.c 2009-09-19 20:54:34 UTC (rev 288462)
@@ -201,7 +201,7 @@
/* 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;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php