svn: /php/php-src/ branches/PHP_5_3/TSRM/tsrm_virtual_cwd.c trunk/TSRM/tsrm_virtual_cwd.c
| From: | Pierre-Alain Joye | Date: | Tue, 25 Aug 2009 09:32:31 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/TSRM/tsrm_virtual_cwd.c trunk/TSRM/tsrm_virtual_cwd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-60216@lists.php.net to get a copy of this message | ||
pajoye Tue, 25 Aug 2009 09:32:31 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=287676
Log:
- be sure that the directory flag is set when we save a path in the cache
Changed paths:
U php/php-src/branches/PHP_5_3/TSRM/tsrm_virtual_cwd.c
U php/php-src/trunk/TSRM/tsrm_virtual_cwd.c
Modified: php/php-src/branches/PHP_5_3/TSRM/tsrm_virtual_cwd.c
===================================================================
--- php/php-src/branches/PHP_5_3/TSRM/tsrm_virtual_cwd.c 2009-08-25 09:23:40 UTC (rev 287675)
+++ php/php-src/branches/PHP_5_3/TSRM/tsrm_virtual_cwd.c 2009-08-25 09:32:31 UTC (rev 287676)
@@ -738,6 +738,7 @@
return -1;
}
}
+ directory = (data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY);
if(link_is_dir) {
*link_is_dir = directory;
Modified: php/php-src/trunk/TSRM/tsrm_virtual_cwd.c
===================================================================
--- php/php-src/trunk/TSRM/tsrm_virtual_cwd.c 2009-08-25 09:23:40 UTC (rev 287675)
+++ php/php-src/trunk/TSRM/tsrm_virtual_cwd.c 2009-08-25 09:32:31 UTC (rev 287676)
@@ -738,6 +738,7 @@
return -1;
}
}
+ directory = (data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY);
if(link_is_dir) {
*link_is_dir = directory;