From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19900 invoked from network); 26 Mar 2008 10:40:21 -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; 26 Mar 2008 10:40:21 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 14099 invoked from network); 26 Mar 2008 10:40:15 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 26 Mar 2008 10:40:15 -0000 Received: (qmail 2893 invoked by alias); 26 Mar 2008 10:40:12 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24734 Received: (qmail 2875 invoked from network); 26 Mar 2008 10:40:11 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 26 Mar 2008 10:40:11 -0000 Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by bifrost.dotsrc.org (Postfix) with ESMTP id 44B7C8097D31 for ; Wed, 26 Mar 2008 11:40:06 +0100 (CET) Received: by fg-out-1718.google.com with SMTP id 16so3463861fgg.37 for ; Wed, 26 Mar 2008 03:40:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:message-id:date:from:to:subject:mime-version:content-type:content-disposition:content-transfer-encoding:user-agent; bh=TSFNIXbkpBceTJabqGzhqox5cboiL91eHOyBIap3E04=; b=mkvG335OL+m3Fn0eNU1xZ3tYl4fmOYX9jWaslbDevcGWV8LjObKzkqm0bLKhPp0b12oHpZPf9ItYYrW9CHEcEtVpOkWtaUZ5pTPaT7JAf1HbAf+xJVyrEJPsEhyUtj1NFP/I6Pc4ZmHYjYmrFPFvUsD8UmeTUQ3QoieL09Qnu38= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type:content-disposition:content-transfer-encoding:user-agent; b=IGDqCI+FhBq1rMXHttXMjYXNoHRYJjJTg1dnYhZkLM4jg+MOUVDkYExImEgazQmkEekwEyp5e1IdhQAJy7z9jX5Tr1cpuo2JCN9paXrrLfLN3PV6AK7UjbUjP3Rs7YP4KZhFS2DOFpiCqbgjVDSqcrvw+0rl02nKOw8IuiapmzI= Received: by 10.86.59.2 with SMTP id h2mr6282287fga.78.1206528006496; Wed, 26 Mar 2008 03:40:06 -0700 (PDT) Received: from baptux.is-a-geek.org ( [82.245.249.89]) by mx.google.com with ESMTPS id 4sm9460702fge.3.2008.03.26.03.40.05 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 26 Mar 2008 03:40:05 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by baptux.is-a-geek.org (Postfix) with ESMTP id D9CC1F30B1 for ; Wed, 26 Mar 2008 11:44:13 +0100 (CET) Received: from 172.20.24.3 (172.20.24.3 [172.20.24.3]) by bapt.selfip.org (Horde Framework) with HTTP; Wed, 26 Mar 2008 11:44:13 +0100 Message-ID: <20080326114413.80713vrmznwpnyuc@bapt.selfip.org> Date: Wed, 26 Mar 2008 11:44:13 +0100 From: Baptiste Daroussin To: zsh-workers@sunsite.dk Subject: _canonical_path not working on *BSD MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.0-RC2) X-Virus-Scanned: ClamAV 0.91.2/6394/Wed Mar 26 11:11:52 2008 on bifrost X-Virus-Status: Clean Hi, _canonical_path is not working on freebsd, it rely on readlink which does work the same on BSD : on openbsd -q options doesn't exist : umount[tab] gives readlink: unknown option -- q on freebsd readlink: illegal option -- q there is on patch on freebsd ports which uses /usr/sbin/stat that works but then the completion is buggy http://www.freebsd.org/cgi/cvsweb.cgi/~checkout~/ports/shells/zsh/files/patch-Completion-Unix-Type-_canonical_paths?rev=1.1;content-type=text%2Fplain umount /h[tab] gives me umount /h/ then [tab] again gives me umount /h// so currently the work around is to replace _canonical_path by compadd -a in _mount (udevordir) and it works I can't find any clue to correct the bug myself. Thanks Bapt ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.