projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adjust to work with new autoconf macros, AC_FUNC_MALLOC
[gnulib.git]
/
lib
/
version-etc.c
diff --git
a/lib/version-etc.c
b/lib/version-etc.c
index
c4562fd
..
57bf124
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
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,20
+22,17
@@
#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. */
char* version_etc_copyright =
/* Default copyright goes to the FSF. */
char* version_etc_copyright =
- N_("Copyright (C) 2001 Free Software Foundation, Inc.");
+ /* Do *not* mark this string for translation. */
+ "Copyright (C) 2002 Free Software Foundation, Inc.";
/* Display the --version information the standard way.
/* Display the --version information the standard way.
@@
-60,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);
- fputs (
_(version_etc_copyright)
, stream);
+ fputs (
version_etc_copyright
, stream);
putc ('\n', stream);
fputs (_("\
putc ('\n', stream);
fputs (_("\