1 2002-01-30 Tom Tromey <tromey@redhat.com>
3 * jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
6 2002-01-11 Tom Tromey <tromey@redhat.com>
8 * Makefile.in: Rebuilt.
9 * Makefile.am (AUTOMAKE_OPTIONS): New macro.
11 2002-01-09 Tom Tromey <tromey@redhat.com>
14 * jargrep.h: Removed RCS keywords.
16 * configure, Makefile.in, config.h.in: Rebuilt.
17 * configure.in: Added AM_MAINTAINER_MODE.
18 Don't look for getopt.h. Use `fastjar' as package name.
19 * Makefile.am (INCLUDES): Look in ../include.
20 (LIBIBERTY): New macro.
22 (jar_DEPENDENCIES): Likewise.
23 (grepjar_LDADD): Likewise.
24 (grepjar_DEPENDENCIES): Likewise.
25 * jargrep.c: Removed RCS keywords. Always include getopt.h.
26 (LONG_OPT): New macro.
28 (main): Use getopt_long. Let getopt print invalid argument
29 message. Handle --help. Use version().
30 (version): New function.
31 (optarg, optind): Don't declare.
32 (option_vec): New global.
34 (Usage): Updated to GNU standards.
35 * jartool.c: Removed RCS keywords. Include getopt.h.
36 (LONG_OPT): New macro.
38 (options): New global.
40 (usage): Print a single line.
41 (version): New function.
42 (expand_options): New function.
43 (main): Use getopt_long and expand_options. Fail if `-u'
44 specified. Changed handling of -f, -m, -V options.
45 (OPTION_STRING): New macro.
46 (version_string): Removed.
48 2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
51 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
52 * Makefile.am: Move grepjar to bin_PROGRAMS.
53 * config.h.in: Regenerated.
54 * Makefile.in: Regenerated.
55 * aclocal.m4: Regenerated.
56 * stamp-h.in: Regenerated.
57 * jargrep.c: Eliminate some signed/unsigned and default
58 uninitialized warnings. Use HAVE_STDLIB_H instead of
60 * jartool.c: Likewise.
61 * compress.c: Likewise.
63 2001-09-17 Tom Tromey <tromey@redhat.com>
66 * aclocal.m4, configure, Makefile.in: Rebuilt.
67 * configure.in: Added AC_EXEEXT.
69 2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
71 * jatool.c (extract_jar): Account for null termination when determining
72 whether to expand "filename".
74 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
76 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
79 2001-08-27 Tom Tromey <tromey@redhat.com>
81 * jartool.c (jarfile): Remove length limitation.
82 (main): Use jt_strdup when initializing jarfile.
84 2001-07-04 Tom Tromey <tromey@redhat.com>
86 Modified from patch by Julian Hall <jules@acris.co.uk>:
87 * jartool.c (errno): Conditionally declare.
88 (O_BINARY): Conditionally define.
89 (main): Use open, not creat. Use O_BINARY everywhere.
90 (make_manifest): Use O_BINARY.
91 (add_to_jar): Likewise.
93 2001-06-28 Tom Tromey <tromey@redhat.com>
96 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
98 2001-05-15 Per Bothner <per@bothner.com>
100 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
102 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
104 * jartool.c (jt_strdup): New function.
105 (get_next_arg): Use jt_strdup instead of strdup.
107 2001-01-21 Tom Tromey <tromey@redhat.com>
109 * Makefile.in: Rebuilt.
110 * Makefile.am (bin_PROGRAMS): Remove grepjar.
111 (EXTRA_PROGRAMS): New macro.
113 2000-12-28 Robert Lipe <robertl@sco.com>
115 * jartool.c (MAXPATHLEN): Provide if not defined.
117 2000-12-15 Tom Tromey <tromey@redhat.com>
118 Kelley Cook <kelleycook@home.com>
120 * jargrep.c: Include getopt.h if it exists.
122 * configure, config.h: Rebuilt.
123 * configure.in: Check for getopt.h.
125 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
127 * configure.in (fastjar_warn_cflags): Set when using gcc.
129 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
131 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
133 * compress.c: Include stdlib.h and compress.h.
135 (report_str_error): Make static.
136 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
137 (hrd_inflate_str): Likewise.
139 * compress.h (init_compression, end_compression, init_inflation,
140 end_inflation): Prototype void arguments.
142 * dostime.c (rcsid): Delete.
144 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
145 Make functions static. Cast ctype function argument to `unsigned
146 char'. Add parens in if-stmts. Constify.
147 (Usage): Change into a macro.
148 (jargrep): Remove unused parameter.
150 * jartool.c: Constify. Add parens in if-stmts. Align
151 signed/unsigned char pointers in functions calls using casts.
153 (list_jar): Fix printf format specifier.
154 (usage): Chop long string into bits. Reformat.
156 * pushback.c (rcsid): Delete.
158 2000-12-13 Tom Tromey <tromey@redhat.com>
160 * jartool.c (extract_jar): Use strchr, not index.
162 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
164 * install-defs.sh: Removed.
166 2000-12-10 Robert Lipe <robertlipe@usa.net>
168 * jargrep.c (jargrep): Added null statement after case.
170 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
173 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
175 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
177 * Makefile.am: New file.
178 * Makefile.in: Rebuilt.
179 * aclocal.m4: Likewise.
180 * stamp-h.in: Likewise.
181 * config.h.in: Likewise.
182 * configure.in (AM_INIT_AUTOMAKE): Added.
183 (AM_CONFIG_HEADER): Likewise.
184 (AC_CHECK_HEADERS): Check for sys/param.h
185 (AC_CHECK_LIB): Don't check for system's zlib.
186 (AC_CHECK_FUNC): Removed system's zlib function checks.
187 (ZDEPS. ZLIBS, ZINCS): Added.
188 * configure: Rebuilt.
189 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
190 (init_args, get_next_arg): New function.
191 (use_explicit_list_only, read_names_from_stdin): New global
192 (main): Parse new non standard options 'E' and '@', check and
193 report their usage if necessary. Use init_args and get_next_arg.
195 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
196 (usage): Added `-E' and `-@'.
197 * jartool.h (VERSION): Macro removed.
199 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
201 * fastjar imported from sourceforge.net/projects/fastjar with
202 Bryan Burns' permission. Check `CHANGES' for post import changes.
203 * ChangeLog: Created.
205 * mkinstalldirs: Likewise.