X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fversion-etc.c;h=05bc3ad255a9024d45d11fe42bcac949ba86a04a;hb=8de557e31178699dd6e839850056f0653cdfba89;hp=ac5844ce9a1bfe5dd93296c413b1d867e683a3ed;hpb=8463224c96568e4799d56e5f3853c0a2e487fb25;p=gnulib.git diff --git a/lib/version-etc.c b/lib/version-etc.c index ac5844ce9..05bc3ad25 100644 --- a/lib/version-etc.c +++ b/lib/version-etc.c @@ -13,11 +13,11 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Written by Jim Meyering. */ -#if HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H # include #endif @@ -35,6 +35,8 @@ #include "gettext.h" #define _(msgid) gettext (msgid) +enum { COPYRIGHT_YEAR = 2005 }; + /* Like version_etc, below, but with the NULL-terminated author list provided via a variable of type va_list. */ void @@ -64,6 +66,20 @@ version_etc_va (FILE *stream, else fprintf (stream, "%s %s\n", package, version); + /* TRANSLATORS: Translate "(C)" to the copyright symbol + (C-in-a-circle), if this symbol is available in the user's + locale. Otherwise, do not translate "(C)"; leave it as-is. */ + fprintf (stream, version_etc_copyright, _("(C)"), COPYRIGHT_YEAR); + + fputs (_("\ +\n\ +This is free software. You may redistribute copies of it under the terms of\n\ +the GNU General Public License .\n\ +There is NO WARRANTY, to the extent permitted by law.\n\ +\n\ +"), + stream); + switch (n_authors) { case 0: @@ -135,15 +151,6 @@ Written by %s, %s, %s,\n%s, %s, %s, %s,\n%s, %s, and others.\n"), break; } va_end (authors); - putc ('\n', stream); - - fputs (version_etc_copyright, stream); - putc ('\n', stream); - - fputs (_("\ -This is free software; see the source for copying conditions. There is NO\n\ -warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"), - stream); }