1 2003-03-10 Mohan Embar <gnustuff@thisiscool.com>
3 * dostime.c: add #include <stddef.h> for definition of NULL
5 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
7 * fastjar.texi: Update to GFDL 1.2.
9 2003-01-31 Daiki Ueno <ueno@unixuser.org>
11 * jartool.c (extract_jar): Don't lseek to skip extra fields.
12 (consume): If the stream is seekable, do lseek.
14 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>
16 * jargrep.c: Include xregex.h from libiberty instead of
17 system regex.h for better portability.
19 2003-01-21 Ranjit Mathew <rmathew@hotmail.com>
21 * jartool.c (list_jar): Terminate the 'ascii_date' buffer
22 with a '\0' to guard against the case where the formatted
23 time string is more than the size allowed by the buffer.
25 2003-01-14 Tom Tromey <tromey@redhat.com>
27 * config.h.in: Rebuilt.
29 2002-12-30 DJ Delorie <dj@redhat.com>
31 * Makefile.am (jar.1, grepjar.1): Protect against
32 texi2pod/pod2man failing.
33 * Makefile.in: Regenerated.
35 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk>
37 * fastjar.texi: Include Cover Texts in man page.
39 2002-12-04 Jakub Jelinek <jakub@redhat.com>
41 * fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
43 2002-11-23 H.J. Lu <hjl@gnu.org>
45 * acinclude.m4: Include ../config/accross.m4.
46 (gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
47 (gcc_AC_EXAMINE_OBJECT): Removed.
48 (gcc_AC_C_COMPILE_ENDIAN): Removed.
49 * aclocal.m4; Rebuild.
51 * configure.in: Replace AC_C_BIGENDIAN with AC_C_BIGENDIAN_CROSS.
52 Replace AC_CHECK_SIZEOF with AC_COMPILE_CHECK_SIZEOF.
53 * configure: Likewise.
55 2002-11-21 Ranjit Mathew <rmathew@hotmail.com>
57 * jartool.c (extract_jar): Use "open" with O_BINARY instead of
58 "creat" to create extracted files.
60 2002-11-11 Tom Tromey <tromey@redhat.com>
62 * dostime.c (dos2unixtime): Mask for seconds is 0x1f. Correctly
64 (unix2dostime): Handle years before 1980. Correctly compute month
67 2002-11-10 Jakub Jelinek <jakub@redhat.com>
69 * jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
72 * configure.in (AC_CHECK_HEADERS): Add limits.h.
73 * configure, config.h.in: Rebuilt.
75 2002-11-07 Tom Tromey <tromey@redhat.com>
77 * dostime.c: Rewrote from scratch.
78 * dostime.h (dostime): Removed.
80 2002-10-20 Tom Tromey <tromey@redhat.com>
82 * jartool.c: Use mode 0666 when opening new file.
84 2002-09-16 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
86 * jargrep.c (chk_wrd): Remove unused variable(s).
87 * jartool.c (main, create_central_header, list_jar): Likewise.
89 2002-10-15 Ranjit Mathew <rmathew@hotmail.com>
91 * configure, config.h.in: Rebuilt.
92 * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
94 2002-09-11 Tom Tromey <tromey@redhat.com>
96 * Makefile.in: Rebuilt.
97 * Makefile.am (TEXINFO_TEX): New macro.
98 (info_TEXINFOS): Likewise.
99 (fastjar_TEXINFOS): Likewise.
100 (man_MANS): Likewise.
101 (EXTRA_DIST): Likewise.
102 (my_makei_flags): Likewise.
103 (fastjar.info): New rule.
104 (fastjar_TEXINFOS): Don't mention `$(srcdir)'.
105 (TEXINFO_TEX): Likewise.
106 (AUTOMAKE_OPTIONS): Added `cygnus'.
108 2002-09-11 Matthias Klose <doko@debian.org>
110 * Makefile.am: Revert the previous patch.
111 * Makefile.in: Regenerated.
113 2002-09-10 Matthias Klose <doko@debian.org>
116 * Makefile.am: Support building info docs and manpages.
117 * Makefile.in: Regenerated.
118 * configure.in: Set gcc_version.
119 * configure: Regenerated.
120 * jargrep.c: Update usage and help strings.
122 2002-09-09 Tom Tromey <tromey@redhat.com>
124 * jartool.c (mkdir): Define.
125 * config.h.in: Rebuilt.
126 * aclocal.m4, configure: Rebuilt.
127 * acinclude.m4: New file. Copied gcc_AC_COMPILE_CHECK_SIZEOF,
128 gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
131 2002-09-04 Tom Tromey <tromey@redhat.com>
133 From greenrd@hotmail.com:
134 * jartool.c (list_jar): Correctly determine when new `filename'
135 buffer must be allocated. Fixes PR java/7830.
137 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
139 * configure.in: Support cross-compiling.
140 * configure: Regenerate.
141 * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
142 (gcc_AC_EXAMINE_OBJECT): New.
143 (fastjar_AC_COMPILE_C_BIGENDIAN): New.
145 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
147 * jartool.c (expand_options): Handle tar-style argument list with a
150 2002-02-23 Anthony Green <green@redhat.com>
152 * jartool.c (main): Fix handling of -C.
154 2002-01-30 Tom Tromey <tromey@redhat.com>
156 * jartool.c (main): NULL-terminate new_argv. Pass 0 as argument
159 2002-01-11 Tom Tromey <tromey@redhat.com>
161 * Makefile.in: Rebuilt.
162 * Makefile.am (AUTOMAKE_OPTIONS): New macro.
164 2002-01-09 Tom Tromey <tromey@redhat.com>
167 * jargrep.h: Removed RCS keywords.
169 * configure, Makefile.in, config.h.in: Rebuilt.
170 * configure.in: Added AM_MAINTAINER_MODE.
171 Don't look for getopt.h. Use `fastjar' as package name.
172 * Makefile.am (INCLUDES): Look in ../include.
173 (LIBIBERTY): New macro.
175 (jar_DEPENDENCIES): Likewise.
176 (grepjar_LDADD): Likewise.
177 (grepjar_DEPENDENCIES): Likewise.
178 * jargrep.c: Removed RCS keywords. Always include getopt.h.
179 (LONG_OPT): New macro.
180 (OPT_HELP): Likewise.
181 (main): Use getopt_long. Let getopt print invalid argument
182 message. Handle --help. Use version().
183 (version): New function.
184 (optarg, optind): Don't declare.
185 (option_vec): New global.
186 (help): New function.
187 (Usage): Updated to GNU standards.
188 * jartool.c: Removed RCS keywords. Include getopt.h.
189 (LONG_OPT): New macro.
190 (OPT_HELP): Likewise.
191 (options): New global.
192 (help): New function.
193 (usage): Print a single line.
194 (version): New function.
195 (expand_options): New function.
196 (main): Use getopt_long and expand_options. Fail if `-u'
197 specified. Changed handling of -f, -m, -V options.
198 (OPTION_STRING): New macro.
199 (version_string): Removed.
201 2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
204 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
205 * Makefile.am: Move grepjar to bin_PROGRAMS.
206 * config.h.in: Regenerated.
207 * Makefile.in: Regenerated.
208 * aclocal.m4: Regenerated.
209 * stamp-h.in: Regenerated.
210 * jargrep.c: Eliminate some signed/unsigned and default
211 uninitialized warnings. Use HAVE_STDLIB_H instead of
213 * jartool.c: Likewise.
214 * compress.c: Likewise.
216 2001-09-17 Tom Tromey <tromey@redhat.com>
219 * aclocal.m4, configure, Makefile.in: Rebuilt.
220 * configure.in: Added AC_EXEEXT.
222 2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
224 * jatool.c (extract_jar): Account for null termination when determining
225 whether to expand "filename".
227 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
229 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
232 2001-08-27 Tom Tromey <tromey@redhat.com>
234 * jartool.c (jarfile): Remove length limitation.
235 (main): Use jt_strdup when initializing jarfile.
237 2001-07-04 Tom Tromey <tromey@redhat.com>
239 Modified from patch by Julian Hall <jules@acris.co.uk>:
240 * jartool.c (errno): Conditionally declare.
241 (O_BINARY): Conditionally define.
242 (main): Use open, not creat. Use O_BINARY everywhere.
243 (make_manifest): Use O_BINARY.
244 (add_to_jar): Likewise.
246 2001-06-28 Tom Tromey <tromey@redhat.com>
248 * configure: Rebuilt.
249 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
251 2001-05-15 Per Bothner <per@bothner.com>
253 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
255 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
257 * jartool.c (jt_strdup): New function.
258 (get_next_arg): Use jt_strdup instead of strdup.
260 2001-01-21 Tom Tromey <tromey@redhat.com>
262 * Makefile.in: Rebuilt.
263 * Makefile.am (bin_PROGRAMS): Remove grepjar.
264 (EXTRA_PROGRAMS): New macro.
266 2000-12-28 Robert Lipe <robertl@sco.com>
268 * jartool.c (MAXPATHLEN): Provide if not defined.
270 2000-12-15 Tom Tromey <tromey@redhat.com>
271 Kelley Cook <kelleycook@home.com>
273 * jargrep.c: Include getopt.h if it exists.
275 * configure, config.h: Rebuilt.
276 * configure.in: Check for getopt.h.
278 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
280 * configure.in (fastjar_warn_cflags): Set when using gcc.
282 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
284 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
286 * compress.c: Include stdlib.h and compress.h.
288 (report_str_error): Make static.
289 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
290 (hrd_inflate_str): Likewise.
292 * compress.h (init_compression, end_compression, init_inflation,
293 end_inflation): Prototype void arguments.
295 * dostime.c (rcsid): Delete.
297 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
298 Make functions static. Cast ctype function argument to `unsigned
299 char'. Add parens in if-stmts. Constify.
300 (Usage): Change into a macro.
301 (jargrep): Remove unused parameter.
303 * jartool.c: Constify. Add parens in if-stmts. Align
304 signed/unsigned char pointers in functions calls using casts.
306 (list_jar): Fix printf format specifier.
307 (usage): Chop long string into bits. Reformat.
309 * pushback.c (rcsid): Delete.
311 2000-12-13 Tom Tromey <tromey@redhat.com>
313 * jartool.c (extract_jar): Use strchr, not index.
315 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
317 * install-defs.sh: Removed.
319 2000-12-10 Robert Lipe <robertlipe@usa.net>
321 * jargrep.c (jargrep): Added null statement after case.
323 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
326 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
328 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
330 * Makefile.am: New file.
331 * Makefile.in: Rebuilt.
332 * aclocal.m4: Likewise.
333 * stamp-h.in: Likewise.
334 * config.h.in: Likewise.
335 * configure.in (AM_INIT_AUTOMAKE): Added.
336 (AM_CONFIG_HEADER): Likewise.
337 (AC_CHECK_HEADERS): Check for sys/param.h
338 (AC_CHECK_LIB): Don't check for system's zlib.
339 (AC_CHECK_FUNC): Removed system's zlib function checks.
340 (ZDEPS. ZLIBS, ZINCS): Added.
341 * configure: Rebuilt.
342 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
343 (init_args, get_next_arg): New function.
344 (use_explicit_list_only, read_names_from_stdin): New global
345 (main): Parse new non standard options 'E' and '@', check and
346 report their usage if necessary. Use init_args and get_next_arg.
348 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
349 (usage): Added `-E' and `-@'.
350 * jartool.h (VERSION): Macro removed.
352 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
354 * fastjar imported from sourceforge.net/projects/fastjar with
355 Bryan Burns' permission. Check `CHANGES' for post import changes.
356 * ChangeLog: Created.
358 * mkinstalldirs: Likewise.