summaryrefslogtreecommitdiff
path: root/gcc/gcov.c
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-20 06:46:42 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-20 06:46:42 +0000
commiteaeaf18f4303afc868e1aa4b9a335162d4ecaf07 (patch)
treec6e523ebac58916a0259e2b00ea8f079653bb343 /gcc/gcov.c
parent2c21a1c38e27935da60948af671a1c4d899f4c54 (diff)
downloadgcc-eaeaf18f4303afc868e1aa4b9a335162d4ecaf07.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78152 138bc75d-0d04-0410-961f-82ee72b054a4
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 f95334a4319..172f9e85651 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);
}