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