[PATCH 2/2] ldd: Don't use Bash-only $"msgid" quoting

Andreas Jaeger aj@suse.com
Fri Nov 23 09:18:00 GMT 2012


On 11/23/2012 04:42 AM, P. J. McDermott wrote:
> On non-Bash shells, ldd prints translatable strings in English
> (regardless of the environment's locale) and prefixed with dollar signs,
> e.g.:
>
>      $ export LC_ALL=es_ES.UTF-8
>      $ /bin/dash /usr/bin/ldd --invalid
>      ldd: $unrecognized option `--invalid'
>      $Try `ldd --help' for more information.
>
> This patch makes ldd use the more portable (and secure) gettext utility
> and eval_gettext function.

What happens if gettext.sh is not available on the system?

Andreas
-- 
  Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
   SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
    GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
     GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126



More information about the Libc-alpha mailing list