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