1 2003-01-21 Ranjit Mathew <rmathew@hotmail.com>
3 * jartool.c (list_jar): Terminate the 'ascii_date' buffer
4 with a '\0' to guard against the case where the formatted
5 time string is more than the size allowed by the buffer.
7 2003-01-14 Tom Tromey <tromey@redhat.com>
9 * config.h.in: Rebuilt.
11 2002-12-30 DJ Delorie <dj@redhat.com>
13 * Makefile.am (jar.1, grepjar.1): Protect against
14 texi2pod/pod2man failing.
15 * Makefile.in: Regenerated.
17 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
19 * fastjar.texi: Include Cover Texts in man page.
21 2002-12-04 Jakub Jelinek <jakub@redhat.com>
23 * fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
25 2002-11-23 H.J. Lu <hjl@gnu.org>
27 * acinclude.m4: Include ../config/accross.m4.
28 (gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
29 (gcc_AC_EXAMINE_OBJECT): Removed.
30 (gcc_AC_C_COMPILE_ENDIAN): Removed.
31 * aclocal.m4; Rebuild.
33 * configure.in: Replace AC_C_BIGENDIAN with AC_C_BIGENDIAN_CROSS.
34 Replace AC_CHECK_SIZEOF with AC_COMPILE_CHECK_SIZEOF.
35 * configure: Likewise.
37 2002-11-21 Ranjit Mathew <rmathew@hotmail.com>
39 * jartool.c (extract_jar): Use "open" with O_BINARY instead of
40 "creat" to create extracted files.
42 2002-11-11 Tom Tromey <tromey@redhat.com>
44 * dostime.c (dos2unixtime): Mask for seconds is 0x1f. Correctly
46 (unix2dostime): Handle years before 1980. Correctly compute month
49 2002-11-10 Jakub Jelinek <jakub@redhat.com>
51 * jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
54 * configure.in (AC_CHECK_HEADERS): Add limits.h.
55 * configure, config.h.in: Rebuilt.
57 2002-11-07 Tom Tromey <tromey@redhat.com>
59 * dostime.c: Rewrote from scratch.
60 * dostime.h (dostime): Removed.
62 2002-10-20 Tom Tromey <tromey@redhat.com>
64 * jartool.c: Use mode 0666 when opening new file.
66 2002-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
68 * jargrep.c (chk_wrd): Remove unused variable(s).
69 * jartool.c (main, create_central_header, list_jar): Likewise.
71 2002-10-15 Ranjit Mathew <rmathew@hotmail.com>
73 * configure, config.h.in: Rebuilt.
74 * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
76 2002-09-11 Tom Tromey <tromey@redhat.com>
78 * Makefile.in: Rebuilt.
79 * Makefile.am (TEXINFO_TEX): New macro.
80 (info_TEXINFOS): Likewise.
81 (fastjar_TEXINFOS): Likewise.
83 (EXTRA_DIST): Likewise.
84 (my_makei_flags): Likewise.
85 (fastjar.info): New rule.
86 (fastjar_TEXINFOS): Don't mention `$(srcdir)'.
87 (TEXINFO_TEX): Likewise.
88 (AUTOMAKE_OPTIONS): Added `cygnus'.
90 2002-09-11 Matthias Klose <doko@debian.org>
92 * Makefile.am: Revert the previous patch.
93 * Makefile.in: Regenerated.
95 2002-09-10 Matthias Klose <doko@debian.org>
98 * Makefile.am: Support building info docs and manpages.
99 * Makefile.in: Regenerated.
100 * configure.in: Set gcc_version.
101 * configure: Regenerated.
102 * jargrep.c: Update usage and help strings.
104 2002-09-09 Tom Tromey <tromey@redhat.com>
106 * jartool.c (mkdir): Define.
107 * config.h.in: Rebuilt.
108 * aclocal.m4, configure: Rebuilt.
109 * acinclude.m4: New file. Copied gcc_AC_COMPILE_CHECK_SIZEOF,
110 gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
113 2002-09-04 Tom Tromey <tromey@redhat.com>
115 From greenrd@hotmail.com:
116 * jartool.c (list_jar): Correctly determine when new `filename'
117 buffer must be allocated. Fixes PR java/7830.
119 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
121 * configure.in: Support cross-compiling.
122 * configure: Regenerate.
123 * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
124 (gcc_AC_EXAMINE_OBJECT): New.
125 (fastjar_AC_COMPILE_C_BIGENDIAN): New.
127 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
129 * jartool.c (expand_options): Handle tar-style argument list with a
132 2002-02-23 Anthony Green <green@redhat.com>
134 * jartool.c (main): Fix handling of -C.
136 2002-01-30 Tom Tromey <tromey@redhat.com>
138 * jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
141 2002-01-11 Tom Tromey <tromey@redhat.com>
143 * Makefile.in: Rebuilt.
144 * Makefile.am (AUTOMAKE_OPTIONS): New macro.
146 2002-01-09 Tom Tromey <tromey@redhat.com>
149 * jargrep.h: Removed RCS keywords.
151 * configure, Makefile.in, config.h.in: Rebuilt.
152 * configure.in: Added AM_MAINTAINER_MODE.
153 Don't look for getopt.h. Use `fastjar' as package name.
154 * Makefile.am (INCLUDES): Look in ../include.
155 (LIBIBERTY): New macro.
157 (jar_DEPENDENCIES): Likewise.
158 (grepjar_LDADD): Likewise.
159 (grepjar_DEPENDENCIES): Likewise.
160 * jargrep.c: Removed RCS keywords. Always include getopt.h.
161 (LONG_OPT): New macro.
162 (OPT_HELP): Likewise.
163 (main): Use getopt_long. Let getopt print invalid argument
164 message. Handle --help. Use version().
165 (version): New function.
166 (optarg, optind): Don't declare.
167 (option_vec): New global.
168 (help): New function.
169 (Usage): Updated to GNU standards.
170 * jartool.c: Removed RCS keywords. Include getopt.h.
171 (LONG_OPT): New macro.
172 (OPT_HELP): Likewise.
173 (options): New global.
174 (help): New function.
175 (usage): Print a single line.
176 (version): New function.
177 (expand_options): New function.
178 (main): Use getopt_long and expand_options. Fail if `-u'
179 specified. Changed handling of -f, -m, -V options.
180 (OPTION_STRING): New macro.
181 (version_string): Removed.
183 2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
186 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
187 * Makefile.am: Move grepjar to bin_PROGRAMS.
188 * config.h.in: Regenerated.
189 * Makefile.in: Regenerated.
190 * aclocal.m4: Regenerated.
191 * stamp-h.in: Regenerated.
192 * jargrep.c: Eliminate some signed/unsigned and default
193 uninitialized warnings. Use HAVE_STDLIB_H instead of
195 * jartool.c: Likewise.
196 * compress.c: Likewise.
198 2001-09-17 Tom Tromey <tromey@redhat.com>
201 * aclocal.m4, configure, Makefile.in: Rebuilt.
202 * configure.in: Added AC_EXEEXT.
204 2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
206 * jatool.c (extract_jar): Account for null termination when determining
207 whether to expand "filename".
209 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
211 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
214 2001-08-27 Tom Tromey <tromey@redhat.com>
216 * jartool.c (jarfile): Remove length limitation.
217 (main): Use jt_strdup when initializing jarfile.
219 2001-07-04 Tom Tromey <tromey@redhat.com>
221 Modified from patch by Julian Hall <jules@acris.co.uk>:
222 * jartool.c (errno): Conditionally declare.
223 (O_BINARY): Conditionally define.
224 (main): Use open, not creat. Use O_BINARY everywhere.
225 (make_manifest): Use O_BINARY.
226 (add_to_jar): Likewise.
228 2001-06-28 Tom Tromey <tromey@redhat.com>
230 * configure: Rebuilt.
231 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
233 2001-05-15 Per Bothner <per@bothner.com>
235 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
237 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
239 * jartool.c (jt_strdup): New function.
240 (get_next_arg): Use jt_strdup instead of strdup.
242 2001-01-21 Tom Tromey <tromey@redhat.com>
244 * Makefile.in: Rebuilt.
245 * Makefile.am (bin_PROGRAMS): Remove grepjar.
246 (EXTRA_PROGRAMS): New macro.
248 2000-12-28 Robert Lipe <robertl@sco.com>
250 * jartool.c (MAXPATHLEN): Provide if not defined.
252 2000-12-15 Tom Tromey <tromey@redhat.com>
253 Kelley Cook <kelleycook@home.com>
255 * jargrep.c: Include getopt.h if it exists.
257 * configure, config.h: Rebuilt.
258 * configure.in: Check for getopt.h.
260 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
262 * configure.in (fastjar_warn_cflags): Set when using gcc.
264 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
266 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
268 * compress.c: Include stdlib.h and compress.h.
270 (report_str_error): Make static.
271 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
272 (hrd_inflate_str): Likewise.
274 * compress.h (init_compression, end_compression, init_inflation,
275 end_inflation): Prototype void arguments.
277 * dostime.c (rcsid): Delete.
279 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
280 Make functions static. Cast ctype function argument to `unsigned
281 char'. Add parens in if-stmts. Constify.
282 (Usage): Change into a macro.
283 (jargrep): Remove unused parameter.
285 * jartool.c: Constify. Add parens in if-stmts. Align
286 signed/unsigned char pointers in functions calls using casts.
288 (list_jar): Fix printf format specifier.
289 (usage): Chop long string into bits. Reformat.
291 * pushback.c (rcsid): Delete.
293 2000-12-13 Tom Tromey <tromey@redhat.com>
295 * jartool.c (extract_jar): Use strchr, not index.
297 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
299 * install-defs.sh: Removed.
301 2000-12-10 Robert Lipe <robertlipe@usa.net>
303 * jargrep.c (jargrep): Added null statement after case.
305 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
308 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
310 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
312 * Makefile.am: New file.
313 * Makefile.in: Rebuilt.
314 * aclocal.m4: Likewise.
315 * stamp-h.in: Likewise.
316 * config.h.in: Likewise.
317 * configure.in (AM_INIT_AUTOMAKE): Added.
318 (AM_CONFIG_HEADER): Likewise.
319 (AC_CHECK_HEADERS): Check for sys/param.h
320 (AC_CHECK_LIB): Don't check for system's zlib.
321 (AC_CHECK_FUNC): Removed system's zlib function checks.
322 (ZDEPS. ZLIBS, ZINCS): Added.
323 * configure: Rebuilt.
324 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
325 (init_args, get_next_arg): New function.
326 (use_explicit_list_only, read_names_from_stdin): New global
327 (main): Parse new non standard options 'E' and '@', check and
328 report their usage if necessary. Use init_args and get_next_arg.
330 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
331 (usage): Added `-E' and `-@'.
332 * jartool.h (VERSION): Macro removed.
334 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
336 * fastjar imported from sourceforge.net/projects/fastjar with
337 Bryan Burns' permission. Check `CHANGES' for post import changes.
338 * ChangeLog: Created.
340 * mkinstalldirs: Likewise.