bash's process substitution feature is implemented by way of either /dev/fd/* or named pipes in /tmp. The configure script detects the existence of /dev/fd/ and chooses that scheme. However, 5.0's devfs only provides for /dev/fd/[0-2]. bash tries to use other descriptors and fails: bash$ cat <(cat /COPYRIGHT) cat: /dev/fd/63: No such file or directory The patch below checks whether higher descriptors are available before enabling the use of /dev/fd for process substitution. If the check fails, named pipes will be used instead. Note that mounting fdescfs on /dev/fd will enable higher descriptors.
Responsible Changed From-To: freebsd-ports-bugs->obrien Over to maintainer.
Hello David, Please see http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/48434 regarding a problem with the bash2 port. Can you please approve this patch? Edwin -- Edwin Groothuis edwin@freebsd.org http://www.mavetju.org
State Changed From-To: open->closed Committed, Thanks!