X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fversion-etc.c;h=5b70616a1c201bb075c22094cd422b7b66a7c0c5;hb=92f1833affa37844e22d2ebe4ca4c6ba924377f4;hp=ba04db4821013fb790e6af997b9c0bbb8b0232b2;hpb=20c8c9cfb54174dc3246b57285ef8e0b8da7db48;p=gnulib.git diff --git a/lib/version-etc.c b/lib/version-etc.c index ba04db482..5b70616a1 100644 --- a/lib/version-etc.c +++ b/lib/version-etc.c @@ -22,6 +22,7 @@ #endif #include +#include "unlocked-io.h" #include "version-etc.h" #if ENABLE_NLS @@ -30,14 +31,13 @@ #else # define _(Text) Text #endif -#define N_(Text) Text /* Default copyright goes to the FSF. */ -char* version_etc_copyright_fmt = - N_("Copyright (C) %s Free Software Foundation, Inc."); +char* version_etc_copyright = + /* Do *not* mark this string for translation. */ + "Copyright (C) 2001 Free Software Foundation, Inc."; -#define COPYRIGHT_YEAR "2001" /* Display the --version information the standard way. @@ -61,7 +61,7 @@ version_etc (FILE *stream, fprintf (stream, _("Written by %s.\n"), authors); putc ('\n', stream); - fprintf (stream, _(version_etc_copyright_fmt), COPYRIGHT_YEAR); + fputs (version_etc_copyright, stream); putc ('\n', stream); fputs (_("\