1 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
3 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
6 2001-08-27 Tom Tromey <tromey@redhat.com>
8 * jartool.c (jarfile): Remove length limitation.
9 (main): Use jt_strdup when initializing jarfile.
11 2001-07-04 Tom Tromey <tromey@redhat.com>
13 Modified from patch by Julian Hall <jules@acris.co.uk>:
14 * jartool.c (errno): Conditionally declare.
15 (O_BINARY): Conditionally define.
16 (main): Use open, not creat. Use O_BINARY everywhere.
17 (make_manifest): Use O_BINARY.
18 (add_to_jar): Likewise.
20 2001-06-28 Tom Tromey <tromey@redhat.com>
23 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
25 2001-05-15 Per Bothner <per@bothner.com>
27 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
29 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
31 * jartool.c (jt_strdup): New function.
32 (get_next_arg): Use jt_strdup instead of strdup.
34 2001-01-21 Tom Tromey <tromey@redhat.com>
36 * Makefile.in: Rebuilt.
37 * Makefile.am (bin_PROGRAMS): Remove grepjar.
38 (EXTRA_PROGRAMS): New macro.
40 2000-12-28 Robert Lipe <robertl@sco.com>
42 * jartool.c (MAXPATHLEN): Provide if not defined.
44 2000-12-15 Tom Tromey <tromey@redhat.com>
45 Kelley Cook <kelleycook@home.com>
47 * jargrep.c: Include getopt.h if it exists.
49 * configure, config.h: Rebuilt.
50 * configure.in: Check for getopt.h.
52 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
54 * configure.in (fastjar_warn_cflags): Set when using gcc.
56 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
58 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
60 * compress.c: Include stdlib.h and compress.h.
62 (report_str_error): Make static.
63 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
64 (hrd_inflate_str): Likewise.
66 * compress.h (init_compression, end_compression, init_inflation,
67 end_inflation): Prototype void arguments.
69 * dostime.c (rcsid): Delete.
71 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
72 Make functions static. Cast ctype function argument to `unsigned
73 char'. Add parens in if-stmts. Constify.
74 (Usage): Change into a macro.
75 (jargrep): Remove unused parameter.
77 * jartool.c: Constify. Add parens in if-stmts. Align
78 signed/unsigned char pointers in functions calls using casts.
80 (list_jar): Fix printf format specifier.
81 (usage): Chop long string into bits. Reformat.
83 * pushback.c (rcsid): Delete.
85 2000-12-13 Tom Tromey <tromey@redhat.com>
87 * jartool.c (extract_jar): Use strchr, not index.
89 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
91 * install-defs.sh: Removed.
93 2000-12-10 Robert Lipe <robertlipe@usa.net>
95 * jargrep.c (jargrep): Added null statement after case.
97 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
100 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
102 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
104 * Makefile.am: New file.
105 * Makefile.in: Rebuilt.
106 * aclocal.m4: Likewise.
107 * stamp-h.in: Likewise.
108 * config.h.in: Likewise.
109 * configure.in (AM_INIT_AUTOMAKE): Added.
110 (AM_CONFIG_HEADER): Likewise.
111 (AC_CHECK_HEADERS): Check for sys/param.h
112 (AC_CHECK_LIB): Don't check for system's zlib.
113 (AC_CHECK_FUNC): Removed system's zlib function checks.
114 (ZDEPS. ZLIBS, ZINCS): Added.
115 * configure: Rebuilt.
116 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
117 (init_args, get_next_arg): New function.
118 (use_explicit_list_only, read_names_from_stdin): New global
119 (main): Parse new non standard options 'E' and '@', check and
120 report their usage if necessary. Use init_args and get_next_arg.
122 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
123 (usage): Added `-E' and `-@'.
124 * jartool.h (VERSION): Macro removed.
126 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
128 * fastjar imported from sourceforge.net/projects/fastjar with
129 Bryan Burns' permission. Check `CHANGES' for post import changes.
130 * ChangeLog: Created.
132 * mkinstalldirs: Likewise.