[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.15.1-1414-gc69ee75

eric at webkit.org eric at webkit.org
Thu Oct 29 20:36:45 UTC 2009


The following commit has been merged in the webkit-1.1 branch:
commit b3420184159c5f8ddd96f09dd405988411ea84ea
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Sep 30 08:13:03 2009 +0000

    2009-09-30  Csaba Osztrogonac  <oszi at 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

diff --git a/SunSpider/ChangeLog b/SunSpider/ChangeLog
index e121eeb..daed7ee 100644
--- a/SunSpider/ChangeLog
+++ b/SunSpider/ChangeLog
@@ -1,3 +1,12 @@
+2009-09-30  Csaba Osztrogonac  <oszi at 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 at inf.u-szeged.hu>
 
         Reviewed by Maciej Stachowiak.
diff --git a/SunSpider/sunspider b/SunSpider/sunspider
index 7825a63..20614b1 100755
--- a/SunSpider/sunspider
+++ b/SunSpider/sunspider
@@ -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" : "";

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list