This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [fastjar patch] Fix for PR java/9532 v.2
- From: Tom Tromey <tromey at redhat dot com>
- To: Nathanael Nerode <neroden at twcny dot rr dot com>
- Cc: gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: 15 Jun 2003 13:42:33 -0600
- Subject: Re: [fastjar patch] Fix for PR java/9532 v.2
- References: <20030613013011.GA9868@doctormoo>
- Reply-to: tromey at redhat dot com
>>>>> "Nathanael" == Nathanael Nerode <neroden@twcny.rr.com> writes:
Nathanael> PR java/9532
Nathanael> * jartool.c (main) Give proper error messages with -C, and
Nathanael> check for missing arguments properly. Send error messages
Nathanael> to stderr.
Nathanael> * jartool.c (add_to_jar): Make getcwd() call portable,
Nathanael> and check for error return.
Thanks. This is ok with one change:
Nathanael> + fprintf(stderr, \
Nathanael> + "Error adding %s (in directory %s) to jar archive!\n", \
Nathanael> + file_to_add, dir_to_change);
You don't need the trailing `\' on these lines.
Tom