[patch] fix elf/ldd.bash.in syntax errors

Mike Frysinger vapier@gentoo.org
Tue Sep 21 15:27:00 GMT 2004


On Tuesday 21 September 2004 09:41 am, Petter Reinholdtsen wrote:
> > -  add_env="$add_env LD_DEBUG="$LD_DEBUG${LD_DEBUG:+,}unused"
> > +  add_env="$add_env LD_DEBUG="$LD_DEBUG${LD_DEBUG:+,}unused""
>
> Don't you need some escaping in front of the inner quotes?  Something
> like this?

i was just getting it to at least past *basic* syntax checks ... the fact that 
the quotes are embedded seems to be another mistake by whoever wrote the ldd 
bash script, but i cant say for sure since i can only guess at the intentions 
of that line
-mike



More information about the Libc-alpha mailing list