Permalink
Browse files

2009-09-30 Csaba Osztrogonac <oszi@inf.u-szeged.hu>

        Reviewed by Darin Adler.

        Platform specific null device replaced with a platform independent.
        https://bugs.webkit.org/show_bug.cgi?id=29544

        * sunspider: Using File::Spec->devnull() instead of /dev/null and NUL.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@48923 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information...
1 parent 6c9c63f commit b3420184159c5f8ddd96f09dd405988411ea84ea eric@webkit.org committed Sep 30, 2009
Showing with 10 additions and 2 deletions.
  1. +9 −0 SunSpider/ChangeLog
  2. +1 −2 SunSpider/sunspider
View
@@ -1,3 +1,12 @@
+2009-09-30 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
+
+ Reviewed by Darin Adler.
+
+ Platform specific null device replaced with a platform independent.
+ https://bugs.webkit.org/show_bug.cgi?id=29544
+
+ * sunspider: Using File::Spec->devnull() instead of /dev/null and NUL.
+
2009-09-21 Csaba Osztrogonac <oszi@inf.u-szeged.hu>
Reviewed by Maciej Stachowiak.
View
@@ -160,8 +160,7 @@ sub writePrefixFile()
sub runTestsOnce($)
{
my ($useShark) = @_;
- my $nullDevice = ($^O eq "MSWin32") ? "NUL" : "/dev/null";
- my $shellArgs = $jsShellArgs . " -f $prefixFile -f resources/sunspider-standalone-driver.js 2> " . $nullDevice;
+ my $shellArgs = $jsShellArgs . " -f $prefixFile -f resources/sunspider-standalone-driver.js 2> " . File::Spec->devnull();
my $output;
if ($useShark) {
my $intervalArg = $useShark == 20 ? "-I 20u" : "";

0 comments on commit b342018

Please sign in to comment.