OSDN Git Service

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