| Summary: | [Windows] Fix errors from calls to uname when not available | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Stephan Szabo <stephan.szabo> | ||||||
| Component: | Tools / Tests | Assignee: | Stephan Szabo <stephan.szabo> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | darin, ews-watchlist, glenn, jbedard, saam, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Stephan Szabo
2020-07-08 15:20:40 PDT
Created attachment 403812 [details]
Patch
Comment on attachment 403812 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=403812&action=review Seems OK > Tools/Scripts/webkitdirs.pm:365 > - $output = `uname -m`; > + if (!isWindows()) { > + $output = `uname -m`; > + } In Perl we would idiomatically write this: $output = `uname -m` unless isWindows(); > Tools/Scripts/webkitdirs.pm:369 > + chomp $output if (defined $output); No need for those parentheses. Created attachment 403818 [details]
Patch
Committed r264142: <https://trac.webkit.org/changeset/264142> All reviewed patches have been landed. Closing bug and clearing flags on attachment 403818 [details]. |