[fastjar patch] Fix for PR java/9532 v.2
Tom Tromey
tromey@redhat.com
Sun Jun 15 19:50:00 GMT 2003
>>>>> "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
More information about the Java-patches
mailing list