From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24607 invoked from network); 10 Feb 2006 14:24:26 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00, FORGED_RCVD_HELO autolearn=ham version=3.1.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 10 Feb 2006 14:24:26 -0000 Received: (qmail 18461 invoked from network); 10 Feb 2006 14:24:20 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 10 Feb 2006 14:24:20 -0000 Received: (qmail 4064 invoked by alias); 10 Feb 2006 14:24:17 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 22212 Received: (qmail 4054 invoked from network); 10 Feb 2006 14:24:17 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 10 Feb 2006 14:24:17 -0000 Received: (qmail 18171 invoked from network); 10 Feb 2006 14:24:17 -0000 Received: from ns9.hostinglmi.net (213.194.149.146) by a.mx.sunsite.dk with SMTP; 10 Feb 2006 14:24:15 -0000 Received: from 212.red-80-35-44.staticip.rima-tde.net ([80.35.44.212]:33431 helo=localhost) by ns9.hostinglmi.net with esmtpa (Exim 4.52) id 1F7ZC5-0004Jf-Oo for zsh-workers@sunsite.dk; Fri, 10 Feb 2006 15:24:17 +0100 Date: Fri, 10 Feb 2006 15:25:21 +0100 From: DervishD To: Zsh-workers Subject: Re: Libtool/zsh quoting problem Message-ID: <20060210142521.GA2845@DervishD> Mail-Followup-To: Zsh-workers References: <20060209233201.GA5875@fargo> <20060210084630.GA189@DervishD> <20060210094805.GA6357@fargo> <20060210113419.GA2750@DervishD> <20060210125649.GA7346@fargo> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20060210125649.GA7346@fargo> User-Agent: Mutt/1.4.2.1i Organization: DervishD X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ns9.hostinglmi.net X-AntiAbuse: Original Domain - sunsite.dk X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - dervishd.net X-Source: X-Source-Args: X-Source-Dir: Hi David :) * David dixit: > On Feb 10 at 12:34:19, DervishD wrote: > > > I know. Libtool is quoting positional parameters which has shell > > > metacharacters in them. But it's no working because the string is > > > already split in that point. I've been looking at the libtool > > > script and i think the problem is in a 'for arg in' that it's > > > failing with zsh in doing the right splitting. > > > > That's weird, because zsh doesn't split arguments at spaces in > > arguments to the for loop, unless SH_WORDSPLIT is set. > > It's just a guess, i'm not sure if the problem is there. But you probably are right, because the for loop is one of the points where the list can be splitted. > > that won't work!. The option will be reset as soon as zsh is > > invoked again as /bin/sh because it will be running in "sh" emulation > > mode (so to say). > > When zsh is invoked as /bin/sh, shwordsplit is disabled, so that's > why i though that something went wrong because libtool was receiving > splitted parameters. You're having another problem, David, because when invoked as /bin/sh, SH_WORD_SPLIT must be enabled (well, set), as you can read in the Zsh manual (sections 3.2 and 15.2.10). If yours have that option disabled, then there is a problem in your RCs :(( > It happens with all zsh versions and libtool versions. I tested > with zsh-2.4.0 and zsh-4.3.0-dev-2 and several libtool 1.5.XX > versions, from 1.5.6 to 1.5.22. OK, I'll take a look. Have you prepared any kind of test case with only libtool? Some simple command to reproduce the problem, if any, so I can avoid compiling a whole package to isolate the bug. Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 | http://www.dervishd.net http://www.pleyades.net & http://www.gotesdelluna.net It's my PC and I'll cry if I want to... RAmen!