PATCH: Fix copyright date for --version

Mark Mitchell mark@codesourcery.com
Wed May 7 06:03:00 GMT 2003


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);



More information about the Gcc-patches mailing list