aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-02-20 06:46:42 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-02-20 06:46:42 +0000
commit9f76f909c9a914fe53740ff840dbff65cd35c0d8 (patch)
treec6e523ebac58916a0259e2b00ea8f079653bb343 /gcc/gcov.c
parenta6567a0faaeafd7dc37eb6d52666c12f466c376f (diff)
downloadgcc-9f76f909c9a914fe53740ff840dbff65cd35c0d8.zip
gcc-9f76f909c9a914fe53740ff840dbff65cd35c0d8.tar.gz
gcc-9f76f909c9a914fe53740ff840dbff65cd35c0d8.tar.bz2
gcc.c (process_command): Allow translation of the copyright symbol but not the rest of the copyright message.
gcc/ * gcc.c (process_command): Allow translation of the copyright symbol but not the rest of the copyright message. * gcov.c (print_version): Likewise. Allow translation of the message about warranty. gcc/f/ * Make-lang.in (g77spec.o): Depend on intl.h. * g77spec.c: Include intl.h. (lang_specific_driver): Allow translation of the copyright symbol but not the rest of the copyright message. Allow translation of the message about warranty. From-SVN: r78152
Diffstat (limited to 'gcc/gcov.c')
-rw-r--r--gcc/gcov.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/gcc/gcov.c b/gcc/gcov.c
index f95334a..172f9e8 100644
--- a/gcc/gcov.c
+++ b/gcc/gcov.c
@@ -1,7 +1,7 @@
/* Gcov.c: prepend line execution counts and branch probabilities to a
source file.
Copyright (C) 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998,
- 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+ 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
Contributed by James E. Wilson of Cygnus Support.
Mangled by Bob Manson of Cygnus Support.
Mangled further by Nathan Sidwell <nathan@codesourcery.com>
@@ -420,11 +420,12 @@ static void
print_version (void)
{
fnotice (stdout, "gcov (GCC) %s\n", version_string);
- fnotice (stdout, "Copyright (C) 2003 Free Software Foundation, Inc.\n");
+ fprintf (stdout, "Copyright %s 2004 Free Software Foundation, Inc.\n",
+ _("(C)"));
fnotice (stdout,
- "This is free software; see the source for copying conditions.\n"
- "There is NO warranty; not even for MERCHANTABILITY or \n"
- "FITNESS FOR A PARTICULAR PURPOSE.\n\n");
+ _("This is free software; see the source for copying conditions.\n"
+ "There is NO warranty; not even for MERCHANTABILITY or \n"
+ "FITNESS FOR A PARTICULAR PURPOSE.\n\n"));
exit (SUCCESS_EXIT_CODE);
}