This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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]

Re: Patch: FYI: support -? and -X


Tom Tromey wrote:
> +/* Copyright (C) 1999, 2000, 2001, 2002, 2003  Free Software Foundation

Is it not simpler to write "1999-2003" here? At
least that's what we've been asked to follow
here in a certain large MNC that employs me. :-)
I mean, if the legal droids here do not have a
problem with it, it should be generally OK - not
sure if this runs afoul of the GNU Coding Standards.


> +	      printf ("gij: currently no -X options are recognized\n");

printf ("%s: currently no -X options are recognized\n", argv[0]);

Or not? (Since I seem to remember from an earlier
discussion that it's a convention *not mandated* by
ANSI C or ISO Cxx that argv[0] is the name by
which the program was invoked.)


> +	      exit (0);

exit (1);

Since this is an error and the execution did not succeed.

Ranjit.

-- 
Ranjit Mathew          Email: rmathew AT hotmail DOT com

Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/



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