This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]