From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10024 invoked from network); 29 Oct 2005 10:02:42 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 29 Oct 2005 10:02:42 -0000 Received: (qmail 94412 invoked from network); 29 Oct 2005 10:02:36 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 29 Oct 2005 10:02:36 -0000 Received: (qmail 25951 invoked by alias); 29 Oct 2005 10:02:34 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21952 Received: (qmail 25940 invoked from network); 29 Oct 2005 10:02:33 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 29 Oct 2005 10:02:33 -0000 Received: (qmail 94058 invoked from network); 29 Oct 2005 10:02:33 -0000 Received: from mta07-winn.ispmail.ntl.com (81.103.221.47) by a.mx.sunsite.dk with SMTP; 29 Oct 2005 10:02:32 -0000 Received: from aamta09-winn.ispmail.ntl.com ([81.103.221.35]) by mta07-winn.ispmail.ntl.com with ESMTP id <20051029100231.WGQD21883.mta07-winn.ispmail.ntl.com@aamta09-winn.ispmail.ntl.com>; Sat, 29 Oct 2005 11:02:31 +0100 Received: from pwslaptop.csr.com ([81.105.238.64]) by aamta09-winn.ispmail.ntl.com with ESMTP id <20051029100231.NSSB6564.aamta09-winn.ispmail.ntl.com@pwslaptop.csr.com>; Sat, 29 Oct 2005 11:02:31 +0100 Received: from pwslaptop.csr.com (pwslaptop.csr.com [127.0.0.1]) by pwslaptop.csr.com (8.13.4/8.13.4) with ESMTP id j9TA2QQj003945; Sat, 29 Oct 2005 11:02:26 +0100 Received: from pwslaptop.csr.com (pws@localhost) by pwslaptop.csr.com (8.13.4/8.13.4/Submit) with ESMTP id j9TA2Q5P003942; Sat, 29 Oct 2005 11:02:26 +0100 Message-Id: <200510291002.j9TA2Q5P003942@pwslaptop.csr.com> X-Authentication-Warning: pwslaptop.csr.com: pws owned process doing -bs From: Peter Stephenson To: Steve Atwell cc: zsh-workers@sunsite.dk Subject: Re: FreeBSD process substitution bug In-Reply-To: Your message of "Sat, 29 Oct 2005 00:06:56 PDT." <20051029070656.GA77326@stripped.disjoint.net> Date: Sat, 29 Oct 2005 11:02:26 +0100 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.4 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 Web page still at http://www.pwstephenson.fsnet.co.uk/