OSDN Git Service

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