[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: url's in --help output
From: |
Eric Blake |
Subject: |
Re: url's in --help output |
Date: |
Sat, 24 Jan 2009 12:03:13 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Simon Josefsson on 1/22/2009 3:29 AM:
> +
> +void
> +emit_bug_reporting_address (void)
> +{
> + /* TRANSLATORS: The placeholder indicates the bug-reporting address
> + for this package. Please add _another line_ saying
> + "Report translation bugs to <...>\n" with the address for translation
> + bugs (typically your translation team's web or email address). */
> + printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
> + printf (_("%s home page: http://www.gnu.org/software/%s/\n"),
> + PACKAGE_NAME, PACKAGE);
> + printf (_("General help using GNU software:
> http://www.gnu.org/gethelp/\n"));
In m4, I was using xprintf instead of printf. Is it worth the extra
security here? printf can fail for reasons like ENOMEM which do not set
the ferror flag and thus are not caught by the close_stdout atexit module,
so a robust program should be checking for failures.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkl7ZfEACgkQ84KuGfSFAYDLRACfc+c4jhif/ytjD+wZGo40+DFo
xS0AoNLtnYJ3Nq18RpR6JKLzxLWbcYTN
=nJqu
-----END PGP SIGNATURE-----
- Re: [gnu-prog-discuss] url's in --help output, (continued)
Re: [gnu-prog-discuss] url's in --help output, Ludovic Courtès, 2009/01/22
Re: url's in --help output,
Eric Blake <=
Re: url's in --help output, Karl Berry, 2009/01/24
Re: url's in --help output, Eric Blake, 2009/01/24
Re: [gnu-prog-discuss] url's in --help output, Eric Blake, 2009/01/27
Re: url's in --help output, Eric Blake, 2009/01/28
Re: url's in --help output, Jim Meyering, 2009/01/28
Re: url's in --help output, Karl Berry, 2009/01/29
Re: url's in --help output, Jim Meyering, 2009/01/30
Re: url's in --help output, Karl Berry, 2009/01/30
Re: url's in --help output, Ralf Wildenhues, 2009/01/31
Re: url's in --help output, Bruno Haible, 2009/01/31