From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25419 invoked by alias); 27 Jul 2010 12:06:47 -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: 28103 Received: (qmail 21573 invoked from network); 27 Jul 2010 12:06:43 -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 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at vinc17.net does not designate permitted sender hosts) Date: Tue, 27 Jul 2010 14:06:34 +0200 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: Re: Completion doesn't work on symlink to . with ignore-parents Message-ID: <20100727120632.GE2810@prunille.vinc17.org> Mail-Followup-To: zsh-workers@zsh.org References: <20100629085449.GB1499@prunille.vinc17.org> <20100726124118.GA20325@prunille.vinc17.org> <20100726140726.37def34c@csr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20100726140726.37def34c@csr.com> X-Mailer-Info: http://www.vinc17.org/mutt/ User-Agent: Mutt/1.5.20-6087-vl-r35499 (2010-07-18) On 2010-07-26 14:07:26 +0100, Peter Stephenson wrote: > It might be this simple. The function in question appears only to do > comparison on device and inode. If, as this bug report suggests, it's > wrong to ignore symbolic links to the file in question, then always doing > an lstat() is presumably correct. However, the function is about three > levels of undocumentation deep inside the completion system. I've added a > lonely comment saying what I think is going on. Thanks. I confirm that this fixes the problem here. -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)