From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4931 invoked by alias); 19 Sep 2015 20:01:23 -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: 36560 Received: (qmail 8433 invoked from network); 19 Sep 2015 20:01:21 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 X-Originating-IP: [80.3.228.158] X-Spam: 0 X-Authority: v=2.1 cv=P+nH/X0u c=1 sm=1 tr=0 a=P+FLVI8RzFchTbbqTxIDRw==:117 a=P+FLVI8RzFchTbbqTxIDRw==:17 a=NLZqzBF-AAAA:8 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=TSbVqHtbAAAA:8 a=72-wXNLPDSIuDhEgW2MA:9 a=CjuIK1q_8ugA:10 Date: Sat, 19 Sep 2015 21:01:18 +0100 From: Peter Stephenson To: Bart Schaefer Cc: Zsh hackers list Subject: Re: bug with $PWD in / Message-ID: <20150919210118.6b615df0@ntlworld.com> In-Reply-To: <150919110800.ZM22888@torch.brasslantern.com> References: <20150916162630.GA6436@chaz.gmail.com> <150919110800.ZM22888@torch.brasslantern.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sat, 19 Sep 2015 11:08:00 -0700 Bart Schaefer wrote: > On Sep 16, 5:26pm, Stephane Chazelas wrote: > } > } It looks like zsh has a similar issue as bash as reported at: > } http://thread.gmane.org/gmane.comp.shells.bash.bugs/24162 > > How about this? I suppose we don't *need* to sanity check for a ".", but I also suppose "A valid PWD may not contain relative path segments, even within an absolute path (beginning with '/')" is a reasonable rule. pws