1 2001-07-04 Tom Tromey <tromey@redhat.com>
3 Modified from patch by Julian Hall <jules@acris.co.uk>:
4 * jartool.c (errno): Conditionally declare.
5 (O_BINARY): Conditionally define.
6 (main): Use open, not creat. Use O_BINARY everywhere.
7 (make_manifest): Use O_BINARY.
8 (add_to_jar): Likewise.
10 2001-06-28 Tom Tromey <tromey@redhat.com>
13 * configure.in: Accept --with-system-zlib. Fixes PR java/3441.
15 2001-05-15 Per Bothner <per@bothner.com>
17 * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".
19 2001-05-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
21 * jartool.c (jt_strdup): New function.
22 (get_next_arg): Use jt_strdup instead of strdup.
24 2001-01-21 Tom Tromey <tromey@redhat.com>
26 * Makefile.in: Rebuilt.
27 * Makefile.am (bin_PROGRAMS): Remove grepjar.
28 (EXTRA_PROGRAMS): New macro.
30 2000-12-28 Robert Lipe <robertl@sco.com>
32 * jartool.c (MAXPATHLEN): Provide if not defined.
34 2000-12-15 Tom Tromey <tromey@redhat.com>
35 Kelley Cook <kelleycook@home.com>
37 * jargrep.c: Include getopt.h if it exists.
39 * configure, config.h: Rebuilt.
40 * configure.in: Check for getopt.h.
42 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
44 * configure.in (fastjar_warn_cflags): Set when using gcc.
46 * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
48 2000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
50 * compress.c: Include stdlib.h and compress.h.
52 (report_str_error): Make static.
53 (ez_inflate_str): Delete unused variable. Add parens in if-stmt.
54 (hrd_inflate_str): Likewise.
56 * compress.h (init_compression, end_compression, init_inflation,
57 end_inflation): Prototype void arguments.
59 * dostime.c (rcsid): Delete.
61 * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
62 Make functions static. Cast ctype function argument to `unsigned
63 char'. Add parens in if-stmts. Constify.
64 (Usage): Change into a macro.
65 (jargrep): Remove unused parameter.
67 * jartool.c: Constify. Add parens in if-stmts. Align
68 signed/unsigned char pointers in functions calls using casts.
70 (list_jar): Fix printf format specifier.
71 (usage): Chop long string into bits. Reformat.
73 * pushback.c (rcsid): Delete.
75 2000-12-13 Tom Tromey <tromey@redhat.com>
77 * jartool.c (extract_jar): Use strchr, not index.
79 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>
81 * install-defs.sh: Removed.
83 2000-12-10 Robert Lipe <robertlipe@usa.net>
85 * jargrep.c (jargrep): Added null statement after case.
87 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com>
90 * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
92 Tue Nov 16 15:11:36 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
94 * Makefile.am: New file.
95 * Makefile.in: Rebuilt.
96 * aclocal.m4: Likewise.
97 * stamp-h.in: Likewise.
98 * config.h.in: Likewise.
99 * configure.in (AM_INIT_AUTOMAKE): Added.
100 (AM_CONFIG_HEADER): Likewise.
101 (AC_CHECK_HEADERS): Check for sys/param.h
102 (AC_CHECK_LIB): Don't check for system's zlib.
103 (AC_CHECK_FUNC): Removed system's zlib function checks.
104 (ZDEPS. ZLIBS, ZINCS): Added.
105 * configure: Rebuilt.
106 * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
107 (init_args, get_next_arg): New function.
108 (use_explicit_list_only, read_names_from_stdin): New global
109 (main): Parse new non standard options 'E' and '@', check and
110 report their usage if necessary. Use init_args and get_next_arg.
112 (add_to_jar): Don't read directory content if `use_explicit_list_only'.
113 (usage): Added `-E' and `-@'.
114 * jartool.h (VERSION): Macro removed.
116 Tue Nov 14 15:10:44 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
118 * fastjar imported from sourceforge.net/projects/fastjar with
119 Bryan Burns' permission. Check `CHANGES' for post import changes.
120 * ChangeLog: Created.
122 * mkinstalldirs: Likewise.