]> granicus.if.org Git - php/commitdiff
When you write to a symlink - you access the file itself, not the symlink, so we...
authorHannes Magnusson <bjori@php.net>
Sun, 5 Jun 2011 12:08:14 +0000 (12:08 +0000)
committerHannes Magnusson <bjori@php.net>
Sun, 5 Jun 2011 12:08:14 +0000 (12:08 +0000)
ext/standard/tests/file/lstat_stat_variation6.phpt

index b7913e0b34f146205f3d78417329b649caa2839b..8704c6d7c607c4ade3509106829de2dc24fb09cd 100755 (executable)
@@ -47,7 +47,7 @@ clearstatcache();
 
 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) );