projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ensure we use gnulib mktime rather than glibc's mktime, on hosts
[gnulib.git]
/
lib
/
version-etc.c
diff --git
a/lib/version-etc.c
b/lib/version-etc.c
index
ba04db4
..
663aa8d
100644
(file)
--- a/
lib/version-etc.c
+++ b/
lib/version-etc.c
@@
-1,5
+1,5
@@
/* Utility to help print --version output in a consistent format.
/* Utility to help print --version output in a consistent format.
- Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000, 2001
, 2002, 2003
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-22,22
+22,18
@@
#endif
#include <stdio.h>
#endif
#include <stdio.h>
+#include "unlocked-io.h"
#include "version-etc.h"
#include "version-etc.h"
-#if ENABLE_NLS
-# include <libintl.h>
-# define _(Text) gettext (Text)
-#else
-# define _(Text) Text
-#endif
-#define N_(Text) Text
+#include "gettext.h"
+#define _(msgid) gettext (msgid)
/* Default copyright goes to the FSF. */
/* 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) 2003 Free Software Foundation, Inc.";
-#define COPYRIGHT_YEAR "2001"
/* Display the --version information the standard way.
/* Display the --version information the standard way.
@@
-61,7
+57,7
@@
version_etc (FILE *stream,
fprintf (stream, _("Written by %s.\n"), authors);
putc ('\n', stream);
fprintf (stream, _("Written by %s.\n"), authors);
putc ('\n', stream);
- fp
rintf (stream, _(version_etc_copyright_fmt), COPYRIGHT_YEAR
);
+ fp
uts (version_etc_copyright, stream
);
putc ('\n', stream);
fputs (_("\
putc ('\n', stream);
fputs (_("\