1 2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
4 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
5 * Makefile.am: Move grepjar to bin_PROGRAMS.
6 * config.h.in: Regenerated.
7 * Makefile.in: Regenerated.
8 * jargrep.c: Eliminate some signed/unsigned and default
9 uninitialized warnings. Use HAVE_STDLIB_H instead of
11 * jartool.c: Likewise.
12 * compress.c: Likewise.
14 2001-09-17 Tom Tromey <tromey@redhat.com>
17 * aclocal.m4, configure, Makefile.in: Rebuilt.
18 * configure.in: Added AC_EXEEXT.
20 2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
22 * jatool.c (extract_jar): Account for null termination when determining
23 whether to expand "filename".
25 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
27 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
30 2001-08-27 Tom Tromey <tromey@redhat.com>
32 * jartool.c (jarfile): Remove length limitation.
33 (main): Use jt_strdup when initializing jarfile.
35 2001-07-04 Tom Tromey <tromey@redhat.com>
37 Modified from patch by Julian Hall <jules@acris.co.uk>:
38 * jartool.c (errno): Conditionally declare.
39 (O_BINARY): Conditionally define.
40 (main): Use open, not creat. Use O_BINARY everywhere.
41 (make_manifest): Use O_BINARY.
42 (add_to_jar): Likewise.
44 2001-06-28 Tom Tromey <tromey@redhat.com>
47 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
49 2001-05-15 Per Bothner <per@bothner.com>
51 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
53 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
55 * jartool.c (jt_strdup): New function.
56 (get_next_arg): Use jt_strdup instead of strdup.
58 2001-01-21 Tom Tromey <tromey@redhat.com>
60 * Makefile.in: Rebuilt.
61 * Makefile.am (bin_PROGRAMS): Remove grepjar.
62 (EXTRA_PROGRAMS): New macro.
64 2000-12-28 Robert Lipe <robertl@sco.com>
66 * jartool.c (MAXPATHLEN): Provide if not defined.
68 2000-12-15 Tom Tromey <tromey@redhat.com>
69 Kelley Cook <kelleycook@home.com>
71 * jargrep.c: Include getopt.h if it exists.
73 * configure, config.h: Rebuilt.
74 * configure.in: Check for getopt.h.
76 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
78 * configure.in (fastjar_warn_cflags): Set when using gcc.
80 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
82 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
84 * compress.c: Include stdlib.h and compress.h.
86 (report_str_error): Make static.
87 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
88 (hrd_inflate_str): Likewise.
90 * compress.h (init_compression, end_compression, init_inflation,
91 end_inflation): Prototype void arguments.
93 * dostime.c (rcsid): Delete.
95 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
96 Make functions static. Cast ctype function argument to `unsigned
97 char'. Add parens in if-stmts. Constify.
98 (Usage): Change into a macro.
99 (jargrep): Remove unused parameter.
101 * jartool.c: Constify. Add parens in if-stmts. Align
102 signed/unsigned char pointers in functions calls using casts.
104 (list_jar): Fix printf format specifier.
105 (usage): Chop long string into bits. Reformat.
107 * pushback.c (rcsid): Delete.
109 2000-12-13 Tom Tromey <tromey@redhat.com>
111 * jartool.c (extract_jar): Use strchr, not index.
113 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
115 * install-defs.sh: Removed.
117 2000-12-10 Robert Lipe <robertlipe@usa.net>
119 * jargrep.c (jargrep): Added null statement after case.
121 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
124 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
126 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
128 * Makefile.am: New file.
129 * Makefile.in: Rebuilt.
130 * aclocal.m4: Likewise.
131 * stamp-h.in: Likewise.
132 * config.h.in: Likewise.
133 * configure.in (AM_INIT_AUTOMAKE): Added.
134 (AM_CONFIG_HEADER): Likewise.
135 (AC_CHECK_HEADERS): Check for sys/param.h
136 (AC_CHECK_LIB): Don't check for system's zlib.
137 (AC_CHECK_FUNC): Removed system's zlib function checks.
138 (ZDEPS. ZLIBS, ZINCS): Added.
139 * configure: Rebuilt.
140 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
141 (init_args, get_next_arg): New function.
142 (use_explicit_list_only, read_names_from_stdin): New global
143 (main): Parse new non standard options 'E' and '@', check and
144 report their usage if necessary. Use init_args and get_next_arg.
146 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
147 (usage): Added `-E' and `-@'.
148 * jartool.h (VERSION): Macro removed.
150 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
152 * fastjar imported from sourceforge.net/projects/fastjar with
153 Bryan Burns' permission. Check `CHANGES' for post import changes.
154 * ChangeLog: Created.
156 * mkinstalldirs: Likewise.