From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17468 invoked from network); 28 Mar 2008 10:01:29 -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; 28 Mar 2008 10:01:29 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 69691 invoked from network); 28 Mar 2008 10:01:24 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 28 Mar 2008 10:01:24 -0000 Received: (qmail 15501 invoked by alias); 28 Mar 2008 10:01:21 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24772 Received: (qmail 15484 invoked from network); 28 Mar 2008 10:01:20 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 28 Mar 2008 10:01:20 -0000 Received: from cluster-d.mailcontrol.com (cluster-d.mailcontrol.com [217.69.20.190]) by bifrost.dotsrc.org (Postfix) with ESMTP id AD48282CD273 for ; Fri, 28 Mar 2008 11:01:16 +0100 (CET) Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly12d.srv.mailcontrol.com (MailControl) with ESMTP id m2SA18xP004887 for ; Fri, 28 Mar 2008 10:01:15 GMT Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.3959); Fri, 28 Mar 2008 10:01:03 +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 m2SA13W9021362 for ; Fri, 28 Mar 2008 10:01:03 GMT Received: from csr.com (pws@localhost) by news01.csr.com (8.14.2/8.14.2/Submit) with ESMTP id m2SA13hu021359 for ; Fri, 28 Mar 2008 10:01:03 GMT Message-Id: <200803281001.m2SA13hu021359@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: <080327180141.ZM18634@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> <200803271806.m2RI6YG5012058@news01.csr.com> <080327180141.ZM18634@torch.brasslantern.com> Comments: In-reply-to Bart Schaefer message dated "Thu, 27 Mar 2008 18:01:41 -0700." Date: Fri, 28 Mar 2008 10:01:03 +0000 From: Peter Stephenson X-OriginalArrivalTime: 28 Mar 2008 10:01:03.0732 (UTC) FILETIME=[A20FCB40:01C890BA] X-Scanned-By: MailControl A-08-00-04 (www.mailcontrol.com) on 10.68.0.122 X-Virus-Scanned: ClamAV 0.91.2/6434/Fri Mar 28 10:00:18 2008 on bifrost X-Virus-Status: Clean Bart Schaefer wrote: > On Mar 27, 6:06pm, Peter Stephenson wrote: > } > } 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. > > When is a mount point *not* a directory? _canonical_paths isn't tied to mount points, although it's just used for those at the moment. I've committed the change and also an initial release note for 4.3.6: Index: Etc/relnotes_4.3.6.txt =================================================================== RCS file: Etc/relnotes_4.3.6.txt diff -N Etc/relnotes_4.3.6.txt --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ Etc/relnotes_4.3.6.txt 28 Mar 2008 09:59:08 -0000 1.1 @@ -0,0 +1,19 @@ +Version 4.3.6 contains mostly bugfixes, but there are some small +improvements. No incompatibilities with previous versions are known. + +Visible changes in the shell and its modules since 4.3.5 include the +following: + +The parameter subscripting flag "e", which existed but had limited +usefulness, has been extended to allow reverse matching of strings instead +of patterns. For example, "${array[(ie)*]}" substitutes the index of the +array element that contains the exact string "*". In previous versions of +the shell a fairly hairy process was necessary to ensure pattern characters +were quoted. + +The cd, chdir, pushd and popd builtins now take the option -q (quiet) which +avoids side effects when changing directories, suppressing the effect of +the chpwd function, the chpwd_functions array and printing of the directory +stack. The last was already possible with the option PUSHD_SILENT, but in +previous versions of the shell there was no easy way of suppressing the +other side effects. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070