libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug#517501: libtool: uninitialized shell variable causes link failur


From: Török Edwin
Subject: Re: Bug#517501: libtool: uninitialized shell variable causes link failure when run under zsh
Date: Sat, 28 Feb 2009 14:49:27 +0200
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)

On 2009-02-28 14:29, Ralf Wildenhues wrote:
> tags fixed-upstream
> thanks
>
> [ adding libtool-patches; see <http://bugs.debian.org/517501> ]
>
> OK, here's the deal: 'emulate sh' turns off the special properties of
> the $path array, but keeps its first entry:
>
> $ zsh -c 'echo $path.; emulate sh; echo $path.'
> /usr/local/bin /usr/bin /bin /usr/bin/X11 /usr/games /usr/X11R6/bin.
> /usr/local/bin.
>
> BTW, this doesn't happen if zsh is invoked as sh:
> $ ln -s /usr/bin/zsh sh; ./sh -c 'echo $path.; emulate sh; echo $path.'
> .
> .
>
> Not sure whether that may be considered a bug in zsh or not, but anyway
> libtool should not assume that the ordinary variable $path is unset.
>
> Your proposed patch does not set $path in all possible cases, so I'm
> applying this one to upstream GNU Libtool to fix it.
>   

Thanks.
Is there a release date planned for next libtool release?
I would like to know if I should apply this patch to ClamAV's
config/ltmain.sh, or wait until a new version of libtool is released
(ClamAV's release is planned for March 16th).

Best regards,
--Edwin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]