From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16059 invoked by alias); 7 Jun 2010 18:20:16 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 28007 Received: (qmail 18209 invoked from network); 7 Jun 2010 18:20:14 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at brasslantern.com does not designate permitted sender hosts) MIME-Version: 1.0 In-Reply-To: <20100607174358.551f2350@csr.com> References: <20040924074842.GJ2973@ay.vinc17.org> <20100607131339.GA21964@prunille.vinc17.org> <20100607174358.551f2350@csr.com> Date: Mon, 7 Jun 2010 11:20:09 -0700 Message-ID: Subject: Re: Bug in zsh builtin pwd when option CHASE_LINKS is set From: Bart Schaefer To: zsh-workers@zsh.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Mon, Jun 7, 2010 at 9:43 AM, Peter Stephenson wrote: > On Mon, 7 Jun 2010 15:13:39 +0200 > Vincent Lefevre wrote: >> On 2004-09-24 09:48:42 +0200, Vincent Lefevre wrote: >> > lepuid:~> zsh -f >> > lepuid% setopt CHASE_LINKS >> > lepuid% pwd >> > /users/spaces/lefevre >> > lepuid% cd .snapshot >> > lepuid% pwd >> > . > > This is happening on our Netapp too, not surprisingly. > > The .snapshot isn't in the parent's directory list, so we're stuck. =A0We= 'll > just have to use a best guess. "." isn't a particularly good one. There was just recently a lot of discussion about behavior of cd / $PWD / $OLDPWD on the austin-group list. I'm rather short on time this week so rather than try to research it I'll just ask whether anyone thinks there are relevant bits there, and hope someone else can follow up. (Sorry.)