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]

Re: [fastjar patch] Fix for PR java/9532 v.2


>>>>> "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


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