This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 2/2] ldd: Don't use Bash-only $"msgid" quoting
On Fri, Nov 23, 2012 at 11:17 AM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> On Thu, 22 Nov 2012, P. J. McDermott wrote:
>
>> 2012-11-22 P. J. McDermott <pjm@nac.net>
>>
>> * elf/ldd.bash.in: Use gettext utility and eval_gettext function instead
>> of insecure and unportable Bash $"msgid" quoting.
>
> Note that avoiding $"" is part of bug 13853. I haven't compared this
> patch with the WIP one attached to that bug. But we do in any case want
> to eliminate use of $"" (whether a script at a time, or all together).
The patch I made for bug 13853 was a WIP, and I had not considered at the
time the repercussions of the change to scripts that will run on the users
system.
There is a medium-term issue that $"" should go away because it's being
deprecated for security reasons, but we must deal with that change in a
smooth and compatible fashion.
Cheers,
Carlos.