bjori                                    Sun, 05 Jun 2011 12:08:14 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=311829

Log:
When you write to a symlink - you access the file itself, not the symlink, so 
we need to compare the atime to the orignal file

Changed paths:
    U   
php/php-src/branches/PHP_5_4/ext/standard/tests/file/lstat_stat_variation6.phpt
    U   php/php-src/trunk/ext/standard/tests/file/lstat_stat_variation6.phpt

Modified: 
php/php-src/branches/PHP_5_4/ext/standard/tests/file/lstat_stat_variation6.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_4/ext/standard/tests/file/lstat_stat_variation6.phpt 
    2011-06-05 12:07:11 UTC (rev 311828)
+++ 
php/php-src/branches/PHP_5_4/ext/standard/tests/file/lstat_stat_variation6.phpt 
    2011-06-05 12:08:14 UTC (rev 311829)
@@ -47,7 +47,7 @@

 var_dump( touch($link_name) );

-$new_stat = lstat($link_name);
+$new_stat = stat($file_name);

 // compare self stats
 var_dump( compare_self_stat($old_stat) );

Modified: php/php-src/trunk/ext/standard/tests/file/lstat_stat_variation6.phpt
===================================================================
--- php/php-src/trunk/ext/standard/tests/file/lstat_stat_variation6.phpt        
2011-06-05 12:07:11 UTC (rev 311828)
+++ php/php-src/trunk/ext/standard/tests/file/lstat_stat_variation6.phpt        
2011-06-05 12:08:14 UTC (rev 311829)
@@ -47,7 +47,7 @@

 var_dump( touch($link_name) );

-$new_stat = lstat($link_name);
+$new_stat = stat($file_name);

 // compare self stats
 var_dump( compare_self_stat($old_stat) );

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

Reply via email to