[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash process substitution does not work in FreeBSD 5.2.1 with devfs(
From: |
Chet Ramey |
Subject: |
Re: bash process substitution does not work in FreeBSD 5.2.1 with devfs(5) |
Date: |
Thu, 7 Oct 2004 08:49:26 -0400 |
> > Upgrade. Bash-3.0 tests for this at configure time.
> >
> > Chet
>
> The above results were obtained with
> Bash Version: 3.0
> Patch Level: 0
> Release Status: release
> and
> FreeBSD 5.2.1.
>
>
> The bash configure script should probably be extended to include code similar
> to
> the above in addition to the test -r /dev/fd/0 check when setting
> bash_cv_dev_fd.
I'm not sure which version of bash you're testing against, but I'm certain
that the bash-3.0 configure script includes the following code:
# check for systems like FreeBSD 5 that only provide /dev/fd/[012]
exec 3<&0
if test -r /dev/fd/3; then
bash_cv_dev_fd=standard
else
bash_cv_dev_fd=absent
fi
exec 3<&-
and it behaves as intended on my FreeBSD 5.2 machine.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live...Laugh...Love
Chet Ramey, ITS, CWRU chet@po.cwru.edu http://tiswww.tis.cwru.edu/~chet/