-----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 [email protected]
-----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-----