On Thu, Nov 25, 2010 at 05:58:18PM +0100, Moritz Muehlenhoff wrote:
> On Sun, Nov 14, 2010 at 02:11:47PM +0100, Jakub Wilk wrote:
> > found 598424 1:1.0.7.4-3
> > thanks
> >
> > * Etienne Millon <etienne.mil...@gmail.com>, 2010-10-20, 09:44:
> >> It does, indeed. On line 30 of /usr/bin/texmacs, the inclusion of
> >> "$TEXMACS_BIN_PATH/lib" is properly done, because :
> >>
> >>  - if LD_LIBRARY_PATH is empty before, the ${LD_LIBRARY_PATH+...}
> >>    constructs evaluates to the empty string (and no colon is added)
> >
> > No. It evalutes to empty string only if LD_LIBRARY_PATH is unset, not  
> > when it's empty:
> >
> > $ LD_LIBRARY_PATH=
> > $ LD_LIBRARY_PATH="/foobar${LD_LIBRARY_PATH+":$LD_LIBRARY_PATH"}"
> > $ echo $LD_LIBRARY_PATH /foobar:
> 
> What's the status?

LD_LIBRARY_PATH can be unset "naturally", ie without the user knowing.
It is actually the default. However, if it evaluates to the empty
string it comes from the environment, ie the user set it like that. We
can't blame texmacs for that, it is the user's fault.

So, I think we don't have to handle this case.

-- 
Etienne Millon

Attachment: signature.asc
Description: Digital signature

Reply via email to