pajoye Tue Jun 16 00:17:56 2009 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/standard/tests/file link_win32.phpt Log: - revert last commit, should not have been applied http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/file/link_win32.phpt?r1=1.1.2.3&r2=1.1.2.4&diff_format=u Index: php-src/ext/standard/tests/file/link_win32.phpt diff -u php-src/ext/standard/tests/file/link_win32.phpt:1.1.2.3 php-src/ext/standard/tests/file/link_win32.phpt:1.1.2.4 --- php-src/ext/standard/tests/file/link_win32.phpt:1.1.2.3 Tue Jun 16 00:13:56 2009 +++ php-src/ext/standard/tests/file/link_win32.phpt Tue Jun 16 00:17:56 2009 @@ -10,12 +10,11 @@ ?> --FILE-- <?php -$filename = __DIR__ . '/a.php'; +$filename = __DIR__ . '\\a.php'; $content = '<?php echo "Dummy Content.\n" ?>'; file_put_contents($filename, $content); - -$linkname = __DIR__ . '/a_link.php'; -var_dump(link("$filename", "$linkname")); +$linkname = __DIR__ . '\\a_link.php'; +link("$filename", "$linkname"); var_dump(file_exists("$linkname")); $linkcontent = file_get_contents($linkname); var_dump($content == $linkcontent); @@ -25,4 +24,3 @@ --EXPECT-- bool(true) bool(true) -bool(true)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php