[Webkit-unassigned] [Bug 30572] New: Unification of using null device in perl scripts

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 20 08:47:24 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=30572

           Summary: Unification of using null device in perl scripts
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ossy at webkit.org


To use a really platform independent perl scripts we mustn't use /dev/null as
null device.
In perl there is File::Spec->devnull() to determine platorm dependent null
device.

I prefer using File::Spec->devnull() everywhere. But there are few 
place, where the shell command is in `...`. (VCSUtils.pm and bisect-builds)  
In these files we can use this method:

my $devNull = File::Spec->devnull();
`... $devNull ...`

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list