From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: Steve Atwell <satwell@disjoint.net>
Cc: zsh-workers@sunsite.dk
Subject: Re: FreeBSD process substitution bug
Date: Sat, 29 Oct 2005 11:02:26 +0100 [thread overview]
Message-ID: <200510291002.j9TA2Q5P003942@pwslaptop.csr.com> (raw)
In-Reply-To: Your message of "Sat, 29 Oct 2005 00:06:56 PDT." <20051029070656.GA77326@stripped.disjoint.net>
Steve Atwell wrote:
> It seems that zsh process substitution doesn't work properly on recent
> versions of FreeBSD. Here's what happens:
>
> % cat <(date)
> cat: /dev/fd/11: No such file or directory
>
> This happens to me on FreeBSD 5.4 with zsh 4.2.5 built with default
> configure options.
That suggests there's something wrong with the following configure test:
any idea what? You should find it works if you #undef PATH_DEV_FD in
config.h.
dnl ----------------------------
dnl CHECK FOR /dev/fd FILESYSTEM
dnl ----------------------------
AH_TEMPLATE([PATH_DEV_FD],
[Define to the path of the /dev/fd filesystem.])
AC_CACHE_CHECK(for /dev/fd filesystem, zsh_cv_sys_path_dev_fd,
[for zsh_cv_sys_path_dev_fd in /proc/self/fd /dev/fd no; do
test x`echo ok|cat $zsh_cv_sys_path_dev_fd/0 2>/dev/null` = xok && break
done])
if test $zsh_cv_sys_path_dev_fd != no; then
AC_DEFINE_UNQUOTED(PATH_DEV_FD, "$zsh_cv_sys_path_dev_fd")
fi
--
Peter Stephenson <p.w.stephenson@ntlworld.com>
Web page still at http://www.pwstephenson.fsnet.co.uk/
next prev parent reply other threads:[~2005-10-29 10:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-29 7:06 Steve Atwell
2005-10-29 10:02 ` Peter Stephenson [this message]
2005-10-29 21:21 ` Steve Atwell
2005-10-30 16:33 ` Peter Stephenson
2005-10-30 17:31 ` Bart Schaefer
2005-10-30 17:39 ` Peter Stephenson
2005-10-31 1:33 ` Steve Atwell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200510291002.j9TA2Q5P003942@pwslaptop.csr.com \
--to=p.w.stephenson@ntlworld.com \
--cc=satwell@disjoint.net \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).