[PATCH] Avoid use of bash-specific /dev/fd/...
Ed Maste
emaste at freebsd.org
Mon Oct 6 13:28:28 PDT 2014
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.
http://reviews.llvm.org/D5631
Files:
lib/dfsan/scripts/check_custom_wrappers.sh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5631.14471.patch
Type: text/x-patch
Size: 2310 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141006/6b675428/attachment.bin>
More information about the llvm-commits
mailing list