1 2001-10-12 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
3 * jatool.c (extract_jar): Account for null termination when determining
4 whether to expand "filename".
6 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>
8 * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
11 2001-08-27 Tom Tromey <tromey@redhat.com>
13 * jartool.c (jarfile): Remove length limitation.
14 (main): Use jt_strdup when initializing jarfile.
16 2001-07-04 Tom Tromey <tromey@redhat.com>
18 Modified from patch by Julian Hall <jules@acris.co.uk>:
19 * jartool.c (errno): Conditionally declare.
20 (O_BINARY): Conditionally define.
21 (main): Use open, not creat. Use O_BINARY everywhere.
22 (make_manifest): Use O_BINARY.
23 (add_to_jar): Likewise.
25 2001-06-28 Tom Tromey <tromey@redhat.com>
28 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
30 2001-05-15 Per Bothner <per@bothner.com>
32 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
34 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
36 * jartool.c (jt_strdup): New function.
37 (get_next_arg): Use jt_strdup instead of strdup.
39 2001-01-21 Tom Tromey <tromey@redhat.com>
41 * Makefile.in: Rebuilt.
42 * Makefile.am (bin_PROGRAMS): Remove grepjar.
43 (EXTRA_PROGRAMS): New macro.
45 2000-12-28 Robert Lipe <robertl@sco.com>
47 * jartool.c (MAXPATHLEN): Provide if not defined.
49 2000-12-15 Tom Tromey <tromey@redhat.com>
50 Kelley Cook <kelleycook@home.com>
52 * jargrep.c: Include getopt.h if it exists.
54 * configure, config.h: Rebuilt.
55 * configure.in: Check for getopt.h.
57 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
59 * configure.in (fastjar_warn_cflags): Set when using gcc.
61 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
63 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
65 * compress.c: Include stdlib.h and compress.h.
67 (report_str_error): Make static.
68 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
69 (hrd_inflate_str): Likewise.
71 * compress.h (init_compression, end_compression, init_inflation,
72 end_inflation): Prototype void arguments.
74 * dostime.c (rcsid): Delete.
76 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
77 Make functions static. Cast ctype function argument to `unsigned
78 char'. Add parens in if-stmts. Constify.
79 (Usage): Change into a macro.
80 (jargrep): Remove unused parameter.
82 * jartool.c: Constify. Add parens in if-stmts. Align
83 signed/unsigned char pointers in functions calls using casts.
85 (list_jar): Fix printf format specifier.
86 (usage): Chop long string into bits. Reformat.
88 * pushback.c (rcsid): Delete.
90 2000-12-13 Tom Tromey <tromey@redhat.com>
92 * jartool.c (extract_jar): Use strchr, not index.
94 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
96 * install-defs.sh: Removed.
98 2000-12-10 Robert Lipe <robertlipe@usa.net>
100 * jargrep.c (jargrep): Added null statement after case.
102 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
105 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
107 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
109 * Makefile.am: New file.
110 * Makefile.in: Rebuilt.
111 * aclocal.m4: Likewise.
112 * stamp-h.in: Likewise.
113 * config.h.in: Likewise.
114 * configure.in (AM_INIT_AUTOMAKE): Added.
115 (AM_CONFIG_HEADER): Likewise.
116 (AC_CHECK_HEADERS): Check for sys/param.h
117 (AC_CHECK_LIB): Don't check for system's zlib.
118 (AC_CHECK_FUNC): Removed system's zlib function checks.
119 (ZDEPS. ZLIBS, ZINCS): Added.
120 * configure: Rebuilt.
121 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
122 (init_args, get_next_arg): New function.
123 (use_explicit_list_only, read_names_from_stdin): New global
124 (main): Parse new non standard options 'E' and '@', check and
125 report their usage if necessary. Use init_args and get_next_arg.
127 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
128 (usage): Added `-E' and `-@'.
129 * jartool.h (VERSION): Macro removed.
131 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
133 * fastjar imported from sourceforge.net/projects/fastjar with
134 Bryan Burns' permission. Check `CHANGES' for post import changes.
135 * ChangeLog: Created.
137 * mkinstalldirs: Likewise.