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