From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26399 invoked from network); 27 Mar 2008 18:07:14 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 27 Mar 2008 18:07:14 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 84356 invoked from network); 27 Mar 2008 18:07:01 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 27 Mar 2008 18:07:01 -0000 Received: (qmail 9087 invoked by alias); 27 Mar 2008 18:06:57 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24767 Received: (qmail 9069 invoked from network); 27 Mar 2008 18:06:56 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 27 Mar 2008 18:06:56 -0000 Received: from cluster-d.mailcontrol.com (cluster-d.mailcontrol.com [217.69.20.190]) by bifrost.dotsrc.org (Postfix) with ESMTP id 265AB82CD267 for ; Thu, 27 Mar 2008 19:06:48 +0100 (CET) Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly36d.srv.mailcontrol.com (MailControl) with ESMTP id m2RI6emx018596 for ; Thu, 27 Mar 2008 18:06:44 GMT Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.3959); Thu, 27 Mar 2008 18:06:34 +0000 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.14.2/8.13.4) with ESMTP id m2RI6YHu012061 for ; Thu, 27 Mar 2008 18:06:34 GMT Received: from csr.com (pws@localhost) by news01.csr.com (8.14.2/8.14.2/Submit) with ESMTP id m2RI6YG5012058 for ; Thu, 27 Mar 2008 18:06:34 GMT Message-Id: <200803271806.m2RI6YG5012058@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-workers@sunsite.dk Subject: Re: _canonical_path not working on *BSD In-reply-to: <080327083911.ZM18427@torch.brasslantern.com> References: <20080326114413.80713vrmznwpnyuc@bapt.selfip.org> <080326083638.ZM16858@torch.brasslantern.com> <200803261540.m2QFeJmm017381@news01.csr.com> <200803261604.m2QG41Ke017772@news01.csr.com> <200803261621.m2QGLptV017966@news01.csr.com> <20080326173824.0a55c00d@coredump.raveland.priv> <20080326164615.1d5893ed@news01> <20080327102325.55808716@news01> <080327083911.ZM18427@torch.brasslantern.com> Comments: In-reply-to Bart Schaefer message dated "Thu, 27 Mar 2008 08:39:11 -0700." Date: Thu, 27 Mar 2008 18:06:34 +0000 From: Peter Stephenson X-OriginalArrivalTime: 27 Mar 2008 18:06:34.0300 (UTC) FILETIME=[4AD1F7C0:01C89035] X-Scanned-By: MailControl A-08-00-04 (www.mailcontrol.com) on 10.68.0.146 X-Virus-Scanned: ClamAV 0.91.2/6428/Thu Mar 27 18:01:12 2008 on bifrost X-Virus-Status: Clean Bart Schaefer wrote: > Why do we even need the zstat if we're doing $(cd ...; pwd) ? If the last segment is a directory we don't. The function doesn't actually say it needs to be, however. I can move the -d test to optimise this. > I'm beginning to think this whole exercise is a bad idea anyway. I have > visions of sysadmins attempting to umount a misbehaving NFS server or a > failing disk and ending up with their session frozen as zsh attempts to > access the bad filesystem behind the scenes. I think that's a generic problem with completing mount points, but it would be perfectly reasonable to put the behaviour in a style. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070