OSDN Git Service

Fix typo.
[pf3gnuchains/gcc-fork.git] / fastjar / ChangeLog
1 2002-11-10  Jakub Jelinek  <jakub@redhat.com>
2
3         * jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
4         non-NULL.
5
6         * configure.in (AC_CHECK_HEADERS): Add limits.h.
7         * configure, config.h.in: Rebuilt.
8
9 2002-11-07  Tom Tromey  <tromey@redhat.com>
10
11         * dostime.c: Rewrote from scratch.
12         * dostime.h (dostime): Removed.
13
14 2002-10-20  Tom Tromey  <tromey@redhat.com>
15
16         * jartool.c: Use mode 0666 when opening new file.
17
18 2002-10-15  Ranjit Mathew  <rmathew@hotmail.com>
19
20         * configure, config.h.in: Rebuilt.
21         * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
22
23 2002-09-11  Tom Tromey  <tromey@redhat.com>
24
25         * Makefile.in: Rebuilt.
26         * Makefile.am (TEXINFO_TEX): New macro.
27         (info_TEXINFOS): Likewise.
28         (fastjar_TEXINFOS): Likewise.
29         (man_MANS): Likewise.
30         (EXTRA_DIST): Likewise.
31         (my_makei_flags): Likewise.
32         (fastjar.info): New rule.
33         (fastjar_TEXINFOS): Don't mention `$(srcdir)'.
34         (TEXINFO_TEX): Likewise.
35         (AUTOMAKE_OPTIONS): Added `cygnus'.
36
37 2002-09-11  Matthias Klose  <doko@debian.org>
38
39         * Makefile.am: Revert the previous patch.
40         * Makefile.in: Regenerated.
41
42 2002-09-10  Matthias Klose  <doko@debian.org>
43
44         * fastjar.texi: New.
45         * Makefile.am: Support building info docs and manpages.
46         * Makefile.in: Regenerated.
47         * configure.in: Set gcc_version.
48         * configure: Regenerated.
49         * jargrep.c: Update usage and help strings.
50
51 2002-09-09  Tom Tromey  <tromey@redhat.com>
52
53         * jartool.c (mkdir): Define.
54         * config.h.in: Rebuilt.
55         * aclocal.m4, configure: Rebuilt.
56         * acinclude.m4: New file.  Copied gcc_AC_COMPILE_CHECK_SIZEOF,
57         gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
58         aclocal.m4.
59
60 2002-09-04  Tom Tromey  <tromey@redhat.com>
61
62         From greenrd@hotmail.com:
63         * jartool.c (list_jar): Correctly determine when new `filename'
64         buffer must be allocated.  Fixes PR java/7830.
65
66 2002-06-03  Geoffrey Keating  <geoffk@redhat.com>
67
68         * configure.in: Support cross-compiling.
69         * configure: Regenerate.
70         * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
71         (gcc_AC_EXAMINE_OBJECT): New.
72         (fastjar_AC_COMPILE_C_BIGENDIAN): New.
73
74 2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
75
76         * jartool.c (expand_options): Handle tar-style argument list with a
77         leading "-".
78
79 2002-02-23  Anthony Green  <green@redhat.com>
80
81         * jartool.c (main): Fix handling of -C.
82
83 2002-01-30  Tom Tromey  <tromey@redhat.com>
84
85         * jartool.c (main): NULL-terminate new_argv.  Pass 0 as argument
86         to init_args.
87
88 2002-01-11  Tom Tromey  <tromey@redhat.com>
89
90         * Makefile.in: Rebuilt.
91         * Makefile.am (AUTOMAKE_OPTIONS): New macro.
92
93 2002-01-09  Tom Tromey  <tromey@redhat.com>
94
95         For PR libgcj/5303:
96         * jargrep.h: Removed RCS keywords.
97         (GVERSION): Removed.
98         * configure, Makefile.in, config.h.in: Rebuilt.
99         * configure.in: Added AM_MAINTAINER_MODE.
100         Don't look for getopt.h.  Use `fastjar' as package name.
101         * Makefile.am (INCLUDES): Look in ../include.
102         (LIBIBERTY): New macro.
103         (jar_LDADD): Use it.
104         (jar_DEPENDENCIES): Likewise.
105         (grepjar_LDADD): Likewise.
106         (grepjar_DEPENDENCIES): Likewise.
107         * jargrep.c: Removed RCS keywords.  Always include getopt.h.
108         (LONG_OPT): New macro.
109         (OPT_HELP): Likewise.
110         (main): Use getopt_long.  Let getopt print invalid argument
111         message.  Handle --help.  Use version().
112         (version): New function.
113         (optarg, optind): Don't declare.
114         (option_vec): New global.
115         (help): New function.
116         (Usage): Updated to GNU standards.
117         * jartool.c: Removed RCS keywords.  Include getopt.h.
118         (LONG_OPT): New macro.
119         (OPT_HELP): Likewise.
120         (options): New global.
121         (help): New function.
122         (usage): Print a single line.
123         (version): New function.
124         (expand_options): New function.
125         (main): Use getopt_long and expand_options.  Fail if `-u'
126         specified.  Changed handling of -f, -m, -V options.
127         (OPTION_STRING): New macro.
128         (version_string): Removed.
129
130 2001-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
131
132         PR bootstrap/5117
133         * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
134         * Makefile.am: Move grepjar to bin_PROGRAMS.
135         * config.h.in: Regenerated.
136         * Makefile.in: Regenerated.
137         * aclocal.m4: Regenerated.
138         * stamp-h.in: Regenerated.
139         * jargrep.c: Eliminate some signed/unsigned and default
140         uninitialized warnings. Use HAVE_STDLIB_H instead of 
141         STDC_HEADERS macro.
142         * jartool.c: Likewise.
143         * compress.c: Likewise.
144
145 2001-09-17  Tom Tromey  <tromey@redhat.com>
146
147         For PR java/4295:
148         * aclocal.m4, configure, Makefile.in: Rebuilt.
149         * configure.in: Added AC_EXEEXT.
150
151 2001-10-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
152
153         * jatool.c (extract_jar): Account for null termination when determining
154         whether to expand "filename".
155
156 2001-08-28  Alexandre Petit-Bianco  <apbianco@redhat.com>
157
158         * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
159         Fixes PR java/3949.
160
161 2001-08-27  Tom Tromey  <tromey@redhat.com>
162
163         * jartool.c (jarfile): Remove length limitation.
164         (main): Use jt_strdup when initializing jarfile.
165
166 2001-07-04  Tom Tromey  <tromey@redhat.com>
167
168         Modified from patch by Julian Hall <jules@acris.co.uk>:
169         * jartool.c (errno): Conditionally declare.
170         (O_BINARY): Conditionally define.
171         (main): Use open, not creat.  Use O_BINARY everywhere.
172         (make_manifest): Use O_BINARY.
173         (add_to_jar): Likewise.
174
175 2001-06-28  Tom Tromey  <tromey@redhat.com>
176
177         * configure: Rebuilt.
178         * configure.in: Accept --with-system-zlib.  Fixes PR java/3441.
179
180 2001-05-15  Per Bothner  <per@bothner.com>
181
182         * Makefile.am (bin_PROGRAMS):  Renamed from "fastjar" to "jar".
183
184 2001-05-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
185
186         * jartool.c (jt_strdup): New function.
187         (get_next_arg): Use jt_strdup instead of strdup.
188
189 2001-01-21  Tom Tromey  <tromey@redhat.com>
190
191         * Makefile.in: Rebuilt.
192         * Makefile.am (bin_PROGRAMS): Remove grepjar.
193         (EXTRA_PROGRAMS): New macro.
194
195 2000-12-28  Robert Lipe <robertl@sco.com>
196
197         * jartool.c (MAXPATHLEN): Provide if not defined.
198
199 2000-12-15  Tom Tromey  <tromey@redhat.com>
200             Kelley Cook <kelleycook@home.com>
201
202         * jargrep.c: Include getopt.h if it exists.
203         (optind): Declare.
204         * configure, config.h: Rebuilt.
205         * configure.in: Check for getopt.h.
206
207 2000-12-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
208
209         * configure.in (fastjar_warn_cflags): Set when using gcc.
210
211         * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
212
213 2000-12-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
214
215         * compress.c: Include stdlib.h and compress.h.
216         (rcsid): Delete.
217         (report_str_error): Make static.
218         (ez_inflate_str): Delete unused variable.  Add parens in if-stmt.
219         (hrd_inflate_str): Likewise.
220
221         * compress.h (init_compression, end_compression, init_inflation,
222         end_inflation): Prototype void arguments.
223
224         * dostime.c (rcsid): Delete.
225
226         * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
227         Make functions static.  Cast ctype function argument to `unsigned
228         char'.  Add parens in if-stmts.  Constify.
229         (Usage): Change into a macro.
230         (jargrep): Remove unused parameter.
231
232         * jartool.c: Constify.  Add parens in if-stmts.  Align
233         signed/unsigned char pointers in functions calls using casts.
234         (rcsid): Delete.
235         (list_jar): Fix printf format specifier.
236         (usage): Chop long string into bits.  Reformat.
237
238         * pushback.c (rcsid): Delete.
239
240 2000-12-13  Tom Tromey  <tromey@redhat.com>
241
242         * jartool.c (extract_jar): Use strchr, not index.
243
244 2000-12-11  Alexandre Petit-Bianco  <apbianco@cygnus.com>
245
246         * install-defs.sh: Removed.
247
248 2000-12-10  Robert Lipe <robertlipe@usa.net>
249
250         * jargrep.c (jargrep): Added null statement after case.
251
252 2000-12-10  Alexandre Petit-Bianco  <apbianco@cygnus.com>
253
254         * Makefile: Removed.
255         * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
256
257 Tue Nov 16 15:11:36 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
258
259         * Makefile.am: New file.
260         * Makefile.in: Rebuilt.
261         * aclocal.m4: Likewise.
262         * stamp-h.in: Likewise.
263         * config.h.in: Likewise.
264         * configure.in (AM_INIT_AUTOMAKE): Added.
265         (AM_CONFIG_HEADER): Likewise.
266         (AC_CHECK_HEADERS): Check for sys/param.h
267         (AC_CHECK_LIB): Don't check for system's zlib.
268         (AC_CHECK_FUNC): Removed system's zlib function checks.
269         (ZDEPS. ZLIBS, ZINCS): Added.
270         * configure: Rebuilt.
271         * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
272         (init_args, get_next_arg): New function.
273         (use_explicit_list_only, read_names_from_stdin): New global
274         (main): Parse new non standard options 'E' and '@', check and
275         report their usage if necessary. Use init_args and get_next_arg.
276         Fixed indentation.
277         (add_to_jar): Don't read directory content if `use_explicit_list_only'.
278         (usage): Added `-E' and `-@'.
279         * jartool.h (VERSION): Macro removed.
280
281 Tue Nov 14 15:10:44 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
282
283         * fastjar imported from sourceforge.net/projects/fastjar with
284         Bryan Burns' permission. Check `CHANGES' for post import changes.
285         * ChangeLog: Created.
286         * NEWS: Likewise.
287         * mkinstalldirs: Likewise.
288         * COPYING: Likewise.
289         * AUTHORS: Likewise.