re PR fastjar/9532 (jar -C flag is incompatible with Sun's (fastjar uses nonportable...
authorNathanael Nerode <neroden@gcc.gnu.org>
Sun, 15 Jun 2003 20:25:44 +0000 (20:25 +0000)
committerNathanael Nerode <neroden@gcc.gnu.org>
Sun, 15 Jun 2003 20:25:44 +0000 (20:25 +0000)
commita55a78d134e4d6d37071764402555beb2215b880
treeb1a3a21a2edceaf8ef1539c3dcf18e88202a009c
parent3d57a5ccfe3b9c773b7c9c933ced25cd9ad002e3
re PR fastjar/9532 (jar -C flag is incompatible with Sun's (fastjar uses nonportable feature of getcwd))

PR java/9532
* jartool.c (main) Give proper error messages with -C, and
check for missing arguments properly.  Send error messages
to stderr.
* jartool.c (add_to_jar): Make getcwd() call portable,
and check for error return.

From-SVN: r67985
fastjar/ChangeLog
fastjar/jartool.c