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;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to