This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Fix copyright date for --version


This patch fixes PR other/10658.

Tested on i686-pc-linux-gnu, applied on the mainline and on the
branch.

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com

2003-05-06  Mark Mitchell  <mark@codesourcery.com>

	PR other/10658
	* gcc.c (process_command): Update copyright date.

Index: gcc.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gcc.c,v
retrieving revision 1.350.2.3
diff -c -5 -p -r1.350.2.3 gcc.c
*** gcc.c	29 Apr 2003 14:31:46 -0000	1.350.2.3
--- gcc.c	7 May 2003 05:52:34 -0000
*************** process_command (argc, argv)
*** 3255,3265 ****
  	}
        else if (strcmp (argv[i], "-fversion") == 0)
  	{
  	  /* translate_options () has turned --version into -fversion.  */
  	  printf (_("%s (GCC) %s\n"), programname, version_string);
! 	  fputs (_("Copyright (C) 2002 Free Software Foundation, Inc.\n"),
  		 stdout);
  	  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\n"),
  		 stdout);
  	  exit (0);
--- 3255,3265 ----
  	}
        else if (strcmp (argv[i], "-fversion") == 0)
  	{
  	  /* translate_options () has turned --version into -fversion.  */
  	  printf (_("%s (GCC) %s\n"), programname, version_string);
! 	  fputs (_("Copyright (C) 2003 Free Software Foundation, Inc.\n"),
  		 stdout);
  	  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\n"),
  		 stdout);
  	  exit (0);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]