This is an archive of the discontinued LLVM Phabricator instance.

Avoid use of bash-specific /dev/fd/...
ClosedPublic

Authored by emaste on Oct 6 2014, 1:28 PM.

Details

Summary

On FreeBSD we may not have fdescfs(5) mounted, in which case bash's cmd <(foo) syntax won't work.

In my local test ninja check-profile reports:

diff: /dev/fd/63: No such file or directory
diff: /dev/fd/62: No such file or directory
diff: /dev/fd/63: No such file or directory
diff: /dev/fd/62: No such file or directory

Modify this script to use temp files for diff instead, and then switch to /bin/sh.

Diff Detail

Event Timeline

emaste updated this revision to Diff 14471.Oct 6 2014, 1:28 PM
emaste retitled this revision from to Avoid use of bash-specific /dev/fd/....
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added a subscriber: Unknown Object (MLST).
samsonov added a reviewer: pcc.Oct 6 2014, 1:35 PM
emaste updated this revision to Diff 14579.Oct 8 2014, 8:33 AM

Rebase after r219293

pcc accepted this revision.Oct 8 2014, 11:12 AM
pcc edited edge metadata.

LGTM

This revision is now accepted and ready to land.Oct 8 2014, 11:12 AM
emaste closed this revision.Oct 8 2014, 11:45 AM
emaste updated this revision to Diff 14585.

Closed by commit rL219333 (authored by @emaste).