zoe Sun May 17 20:02:46 2009 UTC Modified files: /phpruntests/src/testcase/sections rtExecutableSection.php Log: using PHP_EOL instead of \n http://cvs.php.net/viewvc.cgi/phpruntests/src/testcase/sections/rtExecutableSection.php?r1=1.4&r2=1.5&diff_format=u Index: phpruntests/src/testcase/sections/rtExecutableSection.php diff -u phpruntests/src/testcase/sections/rtExecutableSection.php:1.4 phpruntests/src/testcase/sections/rtExecutableSection.php:1.5 --- phpruntests/src/testcase/sections/rtExecutableSection.php:1.4 Sun May 17 11:47:11 2009 +++ phpruntests/src/testcase/sections/rtExecutableSection.php Sun May 17 20:02:46 2009 @@ -13,8 +13,9 @@ } protected function writeExecutableFile() - { - $contentsAsString = implode("\n", $this->sectionContents) . "\n"; + { + // @todo I think \n could be replaced with PHP_EOL here - need to check on Windows.s + $contentsAsString = implode("\n", $this->sectionContents) . PHP_EOL; file_put_contents($this->fileName, (binary) $contentsAsString); }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php