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: --help and --version fixes


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joseph S. Myers wrote:
> This patch fixes various problems with --help and --version output
> (compared to the GNU Coding Standards requirements) in tools
> distributed with and installed by glibc.

It is not

   if (!strcmp(...))

but instead

   if (strcmp(...) == 0)


The bug report info for argp users is printed for the
ARGP_KEY_HELP_EXTRA key in the help function.  There are plenty examples
for this already.  Not doing it this way increases unnecessarily the
amount of strings which have to be translated.

- --
â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkmKNAQACgkQ2ijCOnn/RHRGmACbBd+07/m9jCVbR8D7Wj2lcQW8
FFwAoJuCouKBZnXurIRpX26/tyzpptZV
=ldBo
-----END PGP SIGNATURE-----


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