svn: /php/php-src/ branches/PHP_5_4/ext/standard/tests/file/lstat_stat_variation6.phpt trunk/ext/standard/tests/file/lstat_stat_variation6.phpt

From: Date: Sun, 05 Jun 2011 12:08:14 +0000
Subject: svn: /php/php-src/ branches/PHP_5_4/ext/standard/tests/file/lstat_stat_variation6.phpt trunk/ext/standard/tests/file/lstat_stat_variation6.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-65124@lists.php.net to get a copy of this message
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) );

« previous php.cvs (#65124) next »