~ubuntu-branches/ubuntu/hardy/fastjar/hardy-security

« back to all changes in this revision

Viewing changes to ChangeLog

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-02-12 23:58:20 UTC
  • Revision ID: james.westby@ubuntu.com-20070212235820-66od9xpavc8mgo8z
Tags: upstream-0.95~pre1
ImportĀ upstreamĀ versionĀ 0.95~pre1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
2007-02-13  Matthias Klose  <doko@ubuntu.com>
 
2
 
 
3
        * Makefile.am: Build the fastjar library as a convenience library.
 
4
        * Makefile.in: Regenerate.
 
5
 
 
6
2007-02-12  Dalibor Topic  <robilad@kaffe.org>
 
7
 
 
8
        * jartool.c (get_next_arg, add_to_jar_with_dir): Use
 
9
        EXIT_FAILURE.
 
10
 
 
11
2007-02-12  Dalibor Topic  <robilad@kaffe.org>
 
12
 
 
13
        * Makefile.am (EXTRA_DIST): Removed fastjar.texi.
 
14
        * Makefile.in: Regenerated.
 
15
 
 
16
2007-02-12  Alfred M. Szmidt  <ams@gnu.org>
 
17
 
 
18
        * jartool.c (MAXPATHLEN) [!MAXPATHLEN]: Removed macro.
 
19
        (get_next_arg): Allocate memory dynamiclly for S.
 
20
        (add_to_jar_with_dir): Allocate memory dynamiclly for OLD_DIR.
 
21
 
 
22
2007-02-12  Matthias Klose  <doko@ubuntu.com>
 
23
 
 
24
        * fastjar.texi: Set version to 0.95.
 
25
 
 
26
2007-02-12  Matthias Klose  <doko@ubuntu.com>
 
27
 
 
28
        * fdl.texi, COPYING.DOC: Remove, all documentation is licensed
 
29
        under the GPL.
 
30
        * fastjar.texi: Don't include fdl.texi.
 
31
        * AUTHORS: Add myself as documentation author.
 
32
 
 
33
2007-02-09  Dalibor Topic  <robilad@kaffe.org>
 
34
 
 
35
        * TODO: Updated.
 
36
 
 
37
2007-02-09  Dalibor Topic  <robilad@kaffe.org>
 
38
 
 
39
        * Makefile.am (pscan, flawfinder, rats, splint): Added new targets
 
40
        which invoke source code scanners.
 
41
 
 
42
        * configure.ac (AC_CHECK_PATH): Check for pscan, flawfinder, rats and
 
43
        splint.
 
44
 
 
45
        * Makefile.in, lib/Makefile.in, configure: Regenerated.
 
46
 
 
47
2007-02-08  Dalibor Topic  <robilad@kaffe.org>
 
48
 
 
49
        * configure.ac (AC_MSG_ERROR): Stop configure if neither ftruncate 
 
50
        or _chsize exists.
 
51
 
 
52
        * configure: Regenerated.
 
53
 
 
54
        * jartool.c (main): Simplified ftruncate and _chsize handling by moving 
 
55
        the check into the configure script.
 
56
 
 
57
2007-02-08  Dalibor Topic  <robilad@kaffe.org>
 
58
 
 
59
        * pushback.h: Include jartool.h to declare the types used in struct
 
60
        definition.
 
61
 
 
62
2007-02-08  Dalibor Topic  <robilad@kaffe.org>
 
63
 
 
64
        * compress.h: Include zlib.h, jartool.h and pushback.h to declare the
 
65
        types used in parameters.
 
66
 
 
67
2007-02-08  Dalibor Topic  <robilad@kaffe.org>
 
68
 
 
69
        * jartool.c (add_file_to_jar, add_array_to_jar): Made file_name_length
 
70
        into a size_t.
 
71
 
 
72
2007-02-08  Dalibor Topic  <robilad@kaffe.org>
 
73
 
 
74
        * jartool.c (make_manifest): Turned mf_len into a size_t.
 
75
 
 
76
2007-02-08  Dalibor Topic  <robilad@kaffe.org>
 
77
 
 
78
        * jartool.c (make_manifest, add_to_jar): Turned nlen into a size_t.
 
79
 
 
80
2007-02-08  Dalibor Topic  <robilad@kaffe.org>
 
81
 
 
82
        * jartool.c (add_array_to_jar): Check if writing succeeded before
 
83
        checking if the number of written bytes matches. New local variable
 
84
        written.
 
85
 
 
86
2007-02-08  Dalibor Topic  <robilad@kaffe.org>
 
87
 
 
88
        * jartool.c (add_array_to_jar): Turn content_length into a size_t.
 
89
 
 
90
2007-02-08  Dalibor Topic  <robilad@kaffe.org>
 
91
 
 
92
        * jartool.c (build_index): Turn index_content_length into a
 
93
        size_t.
 
94
 
 
95
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
96
 
 
97
        * jargrep.c (help, version): Made static.
 
98
 
 
99
        * jartool.c (add_array_to_jar, add_entry,
 
100
        add_file_to_jar, add_list_entry, add_to_jar
 
101
        add_to_jar_with_dir, build_index, consume
 
102
        create_central_header, extract_jar,
 
103
        get_index_entry, help, init_headers,
 
104
        list_jar, make_manifest, read_entries, usage
 
105
        version): Made static.
 
106
 
 
107
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
108
 
 
109
        * jartool.c (data_descriptor, do_compress, file_header,
 
110
        jarfile, number_of_entries, read_names_from_stdin, seekable,
 
111
        use_explicit_list_only, verbose, ziplist, ziplisthead, 
 
112
        ziplisttail, ziptail): Made static.
 
113
 
 
114
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
115
 
 
116
        * compress.c (write_data): Made static.
 
117
 
 
118
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
119
 
 
120
        * configure.ac (AC_PROG_STDC_CC): Use C99 if possible.
 
121
 
 
122
        * configure: Regenerated.
 
123
 
 
124
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
125
 
 
126
        * Makefile.am (POD2MAN): Use VERSION variable.
 
127
 
 
128
        * Makefile.in: Regenerated.
 
129
 
 
130
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
131
 
 
132
        * install-defs.sh.in: Removed.
 
133
 
 
134
        * configure.ac (AC_CONFIG_FILES): Removed install-defs.sh.
 
135
 
 
136
        * Makefile.in, configure: Regenerated.
 
137
 
 
138
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
139
 
 
140
        * configure.ac (ZINCS, ZDEPS): Removed redundant variables.
 
141
 
 
142
        * Makefile.am (DEPENDENCIES): Removed. 
 
143
        (AM_CPPFLAGS) Removed redundant ZINCS variable.
 
144
 
 
145
        * Makefile.in, configure, lib/Makefile.in: Regenerated.
 
146
 
 
147
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
148
 
 
149
        * configure.ac (AC_ARG_ENABLE): Removed redundant option.
 
150
 
 
151
        * configure: Regenerated.
 
152
 
 
153
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
154
 
 
155
        * configure.ac (AC_ARG_WITH): Removed redundant option.
 
156
 
 
157
        * configure: Regenerated.
 
158
 
 
159
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
160
 
 
161
        * configure.ac (AC_STRUCT_TM): Removed redundant check.
 
162
 
 
163
        * configure: Regenerated.
 
164
 
 
165
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
166
 
 
167
        * configure.ac (AC_PATH_PROG): Don't look for cp, strip 
 
168
        and chmod.
 
169
 
 
170
        * Makefile.in, configure, lib/Makefile.in: Regenerated.
 
171
 
 
172
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
173
 
 
174
        * configure.ac (AC_PATH_PROG): Don't look for rm.
 
175
 
 
176
        * Makefile.in, configure, lib/Makefile.in: Regenerated.
 
177
 
 
178
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
179
 
 
180
        * TODO: Removed Sun CC task.
 
181
 
 
182
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
183
 
 
184
        PR 18986
 
185
 
 
186
        * lib/stdbool_.h, m4/stdbool.m4: New files from
 
187
        gnulib to support stdbool.h on platforms without it.
 
188
 
 
189
        * Makefile.in, aclocal.m4, config.h.in, configure,
 
190
        lib/Makefile.am, lib/Makefile.in, m4/gnulib-cache.m4,
 
191
        m4/gnulib-comp.m4: Regenerated.
 
192
 
 
193
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
194
 
 
195
        * TODO: Removed gnulib items.
 
196
 
 
197
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
198
 
 
199
        PR 18972
 
200
 
 
201
        * lib/getopt.c, lib/getopt1.c, lib/getopt_.h,
 
202
        lib/getopt_int.h, lib/unistd_.h, m4/getopt.m4,
 
203
        m4/unistd_h.m4: New files from gnulib to support 
 
204
        platforms without a GNU getopt implementation. 
 
205
 
 
206
        * jargrep.c: Moved inclusion of getopt.h before 
 
207
        inclusion of regex.h.
 
208
 
 
209
        * jartool.c: Include regex.h, as recommended by 
 
210
        gnulib-tool for the gnulib getopt functionality.
 
211
 
 
212
        * Makefile.in, aclocal.m4, config.h.in, configure,
 
213
        lib/Makefile.am, lib/Makefile.in, m4/gnulib-cache.m4,
 
214
        m4/gnulib-comp.m4: Regenerated.
 
215
 
 
216
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
217
 
 
218
        * README: Added a 'platforms' section, and documented
 
219
        flags for the MingW32 build on Cygwin.
 
220
 
 
221
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
222
 
 
223
        * NEWS : Added merging status information for 
 
224
        Bryan's 0.94 release on SourceForge. Updated version number
 
225
        to 0.95-pre.
 
226
 
 
227
        * README, configure.ac: Updated version number to 0.95-pre.
 
228
 
 
229
        * configure: Regenerated.
 
230
 
 
231
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
232
 
 
233
        PR 18973
 
234
 
 
235
        * Makefile.am (SUBDIRS, ACLOCAL_AMFLAGS): Added to support
 
236
        using gnulib's functionality.
 
237
        (AM_CPPFLAGS) Added lib directory for regex.h.
 
238
        (LDADD) Added libgnu.la.
 
239
 
 
240
        * configure.ac (gl_EARLY, gl_INIT): Added suppor for gnulib. 
 
241
        (AC_CONFIG_FILES) Added lib/Makefile.
 
242
 
 
243
        * Makefile.in, aclocal.m4, config.h.in, configure:
 
244
        Regenerated.
 
245
 
 
246
        * lib/Makefile.am, lib/Makefile.in, 
 
247
        lib/alloca.c, lib/alloca_.h, lib/dummy.c, 
 
248
        lib/gettext.h, lib/malloc.c, lib/regcomp.c,
 
249
        lib/regex.c, lib/regex.h, 
 
250
        lib/regex_internal.c, lib/regex_internal.h,
 
251
        lib/regexec.c, lib/stdint_.h,
 
252
        lib/strcasecmp.c, lib/string_.h,
 
253
        lib/strncasecmp.c, lib/wchar_.h, lib/wctype_.h,
 
254
        m4/absolute-header.m4, m4/alloca.m4, m4/codeset.m4,
 
255
        m4/extensions.m4, m4/gnulib-cache.m4, 
 
256
        m4/gnulib-common.m4, m4/gnulib-comp.m4,
 
257
        m4/gnulib-tool.m4, m4/longlong.m4, m4/regex.m4,
 
258
        m4/ssize_t.m4, m4/stdint.m4, m4/strcase.m4,
 
259
        m4/string_h.m4, m4/ulonglong.m4, m4/wchar.m4,
 
260
        m4/wctype.m4, m4/wint_t.m4: New files from gnulib
 
261
        to support regex on platforms without a GNU regex
 
262
        implementation. 
 
263
 
 
264
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
265
 
 
266
        * TODO: Removed libfastjar item.
 
267
 
 
268
        * NEWS: Added libfastjar information.
 
269
 
 
270
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
271
 
 
272
        * Makefile.am (AM_LDFLAGS, LDADD, DEPENDECIES, 
 
273
        libfastjar_la_LIBADD, libfastjar_la_LIBADD): Added
 
274
        to support building with a shared library with no
 
275
        undefined symbols.
 
276
        (fastjar_LDADD, fastjar_DEPENDENCIES, grepjar_LDADD,
 
277
        grepjar_DEPENDENCIES) Removed, replaced by LDADD and
 
278
        DEPENDENCIES.
 
279
 
 
280
        * Makefile.in: Regenerated.
 
281
 
 
282
2007-02-07  Dalibor Topic  <robilad@kaffe.org>
 
283
 
 
284
        * autogen.sh: Removed -Wall since libtool & automake
 
285
        macros are not up to date with autoconf 2.61 and create
 
286
        too much warning noise.
 
287
 
 
288
2007-02-06  Dalibor Topic  <robilad@kaffe.org>
 
289
 
 
290
        * Makefile.am (AM_CFLAGS): Shuffled upwards in the file.
 
291
        (fastjar_SOURCES, grepjar_SOURCES) Removed dostime.c, 
 
292
        compress.c, pushback.c, shift.c, jartool.h, zipfile.h, 
 
293
        dostime.h, compress.h, pushback.h and shift.h.
 
294
        (fastjar_LDADD, grepjar_LDADD) Added libfastjar.la.
 
295
        (lib_LTLIBRARIES, libfastjar_la_SOURCES) New primitives.
 
296
        (libtool) New target.
 
297
 
 
298
        * configure.ac (AC_DISABLE_STATIC, AC_LIBTOOL_WIN32_DLL,
 
299
        AC_PROG_LIBTOOL, AC_SUBST(LIBTOOL_DEPS)): Added support
 
300
        for native libraries for libfastjar.
 
301
 
 
302
        * Makefile.in, aclocal.m4, config.h.in, configure:
 
303
        Regenerated.
 
304
 
 
305
        * config.guess, config.sub, ltmain.sh: New files,
 
306
        generated by autogen.sh.
 
307
 
 
308
2007-02-06  Dalibor Topic  <robilad@kaffe.org>
 
309
 
 
310
        * TODO: New file.
 
311
 
 
312
2007-02-06  Dalibor Topic  <robilad@kaffe.org>
 
313
 
 
314
        * compress.c (init_compression, write_data, 
 
315
        compress_file, end_compression, init_inflation,
 
316
        inflate_file, report_str_error, ez_inflate_str,
 
317
        hrd_inflate_str): Use EXIT_FAILURE.
 
318
 
 
319
        * jargrep.c (create_regexp, read_string, 
 
320
        extract_line, check_crc, fnd_match, main,
 
321
        version): Use EXIT_FAILURE and EXIT_SUCCESS.
 
322
 
 
323
        * jartool.c (main, make_manifest, add_to_jar,
 
324
        add_file_to_jar, extract_jar, list_jar, 
 
325
        consume, version, help, add_array_to_jar, 
 
326
        get_index_entry): Use EXIT_FAILURE and EXIT_SUCCESS.
 
327
 
 
328
2007-02-06  Dalibor Topic  <robilad@kaffe.org>
 
329
 
 
330
        * dostime.c: Updated copyright information.
 
331
 
 
332
2007-02-06  Dalibor Topic  <robilad@kaffe.org>
 
333
 
 
334
        * compress.c, dostime.c, jargrep.c, jartool.c
 
335
        (HAVE_CONFIG_H): Added guards for include.
 
336
 
 
337
2007-02-06  Dalibor Topic  <robilad@kaffe.org>
 
338
 
 
339
        * shift.c, jartool.h, jargrep.c, compress.c:
 
340
        Updated copyright information.
 
341
 
 
342
2007-02-06  Dalibor Topic  <robilad@kaffe.org>
 
343
 
 
344
        * compress.h: Updated copyright information.
 
345
 
 
346
2007-02-06  Dalibor Topic  <robilad@kaffe.org>
 
347
 
 
348
        * zipfile.h:
 
349
        Added #ifndef __FASTJAR_ZIPFILE_H__.
 
350
        Updated copyright information.
 
351
 
 
352
2007-02-06  Dalibor Topic  <robilad@kaffe.org>
 
353
 
 
354
        * pushback.h:
 
355
        Added #ifndef __FASTJAR_PUSHBACK_H__.
 
356
        Updated copyright information.
 
357
 
 
358
2007-02-06  Dalibor Topic  <robilad@kaffe.org>
 
359
 
 
360
        * jargrep.h:
 
361
        Added #ifndef __FASTJAR_JARGREP_H__.
 
362
        Updated copyright information.
 
363
 
 
364
2007-02-06  Dalibor Topic  <robilad@kaffe.org>
 
365
 
 
366
        * dostime.h:
 
367
        Added #ifndef __FASTJAR_DOSTIME_H__.
 
368
        Updated copyright information.
 
369
 
 
370
2007-02-06  Dalibor Topic  <robilad@kaffe.org>
 
371
 
 
372
        * compress.h:
 
373
        Added #ifndef __FASTJAR_COMPRESS_H__.
 
374
 
 
375
2007-02-06  Dalibor Topic  <robilad@kaffe.org>
 
376
 
 
377
        * dostime.c (unix2dostime): Renamed parameter to
 
378
        unix_time.
 
379
 
 
380
2007-02-06  Dalibor Topic  <robilad@kaffe.org>
 
381
 
 
382
        * jartool.c (list_jar, extract_jar, init_args, 
 
383
        get_next_arg): Added const qualifier to char ** 
 
384
        parameter and return types.
 
385
        (main) Added const qualifier to type of new_argv.
 
386
        Modified malloc cast accordingly. Fixed cast of
 
387
        const char * to char *.
 
388
        (args_g) Added const qualifier to type.
 
389
 
 
390
2007-02-06  Dalibor Topic  <robilad@kaffe.org>
 
391
 
 
392
        * jartool.c (main): Replaced unreachable exit call
 
393
        after version call with a break statement.
 
394
 
 
395
2007-02-06  Dalibor Topic  <robilad@kaffe.org>
 
396
 
 
397
        * compress.c (init_compression, end_compression,
 
398
        init_inflation): Added missing 'void' parameter type.
 
399
 
 
400
        * jargrep.c (version): Added missing 'void' parameter
 
401
        type.
 
402
 
 
403
2007-02-06  Dalibor Topic  <robilad@kaffe.org>
 
404
 
 
405
        * jartool.h (__attribute__): Remove define.
 
406
 
 
407
2007-02-06  Dalibor Topic  <robilad@kaffe.org>
 
408
 
 
409
        * Makefile.am (fastjar_CPPFLAGS): Removed.
 
410
        (grepjar_SOURCES) Added shift.c and shift.h.
 
411
 
 
412
        * compress.c (seekable, end_of_entries): Removed.
 
413
        (write_data) Removed __attribute__((unused)).
 
414
        Removed WITH_SHIFT_DOWN.
 
415
 
 
416
        * configure.ac (AM_PROG_CC_C_O): Removed.
 
417
 
 
418
        * jartool.c (end_of_entries): Moved field to ...
 
419
 
 
420
        * shift.c (end_of_entries): ... here. New field.
 
421
        (shift_up, shift_down) Removed declarations of
 
422
        end_of_entries.
 
423
 
 
424
        * shift.h (end_of_entries): Added field to 
 
425
        exported header as it is used in jartool.c.
 
426
 
 
427
        * Makefile.in, aclocal.m4, config.h.in, 
 
428
        configure: Regenerated.
 
429
 
 
430
2007-02-06  Wil Mahan  <wmahan@users.sourceforge.net>
 
431
 
 
432
        * jartool.c (list_jar): Fall back on 
 
433
        the method used for non-seekable files when 
 
434
        reading the central-header-end section does 
 
435
        not work, i.e. in archives with a zipfile 
 
436
        comment at the end.
 
437
 
 
438
        Patch taken from fastjar.sourceforge.net
 
439
        patch repository.
 
440
 
 
441
2007-02-05  Dalibor Topic  <robilad@kaffe.org>
 
442
 
 
443
        * configure.ac (AC_INIT): Changed version 
 
444
        to 0.94-pre.
 
445
 
 
446
2007-02-05  Dalibor Topic  <robilad@kaffe.org>
 
447
 
 
448
        * NEWS: Updated with some of the information
 
449
        from the ChangeLog.
 
450
 
 
451
2007-02-05  Dalibor Topic  <robilad@kaffe.org>
 
452
 
 
453
        * fastjar.texi: -i works now.
 
454
 
 
455
2007-02-04  Dalibor Topic  <robilad@kaffe.org>
 
456
 
 
457
        * jartool.c (build_index): Added comment
 
458
        for previous patch. Added check to ensure
 
459
        that the META-INF directory is not being
 
460
        indexed.
 
461
 
 
462
2007-02-04  Dalibor Topic  <robilad@kaffe.org>
 
463
 
 
464
        * jartool.c (build_index): Replace '\0'
 
465
        character with '\n' before adding the 
 
466
        index to the jar file to avoid having
 
467
        a zero byte at the end of the index file.
 
468
 
 
469
2007-02-04  Dalibor Topic  <robilad@kaffe.org>
 
470
 
 
471
        * jartool.c: Added 2007 to copyright years,
 
472
        and claimed my changes.
 
473
        (OPTION_STRING) -i takes an argument.
 
474
        (main) Set jarfile to the argument when option 
 
475
        -i is parsed. Modified help string when no
 
476
        action is given to include -i.
 
477
 
 
478
2007-02-04  Dalibor Topic  <robilad@kaffe.org>
 
479
 
 
480
        * jartool.c (build_index): Initialize 
 
481
        a ziplistentry's next_element with NULL
 
482
        before passing it to add_list_entry to
 
483
        fix a crash. Don't re-assign filename
 
484
        of a zip entry with the index name, as 
 
485
        that turns directories into files, and 
 
486
        breaks the zip files.
 
487
 
 
488
2007-02-04  Olivier Jolly <olivier.jolly@pcedev.com>
 
489
 
 
490
        * jartool.c: Enable fastjar to update an 
 
491
        existing .jar with an META-INF/INDEX.LIST 
 
492
        aka -i support. Still, it doesn't process 
 
493
        the MANIFEST.MF to index files coming from 
 
494
        dependant archives.
 
495
 
 
496
2007-02-04  Dalibor Topic  <robilad@kaffe.org>
 
497
 
 
498
        * jartool.h (__attribute__): Explicitely
 
499
        define it as a macro with one parameter.
 
500
        That allows splint to be used for checking 
 
501
        the code.
 
502
 
 
503
2007-02-03  Dalibor Topic  <robilad@kaffe.org>
 
504
 
 
505
        * configure: Regenerated.
 
506
 
 
507
        * configure.ac: Updated AC_INIT and 
 
508
        AM_INIT_AUTOMAKE to use the modern form.
 
509
 
 
510
 
 
511
2007-02-03  Dalibor Topic  <robilad@kaffe.org>
 
512
 
 
513
        * compress.c, compress.h, jargrep.c, 
 
514
        jartool.c, jartool.h, pushback.c, 
 
515
        zipfile.h: Removed Id and Log CVS tags.
 
516
 
 
517
2007-02-03  Dalibor Topic  <robilad@kaffe.org>
 
518
 
 
519
        * config.h.in, configure: Regenerated.
 
520
 
 
521
        * configure.ac: Removed checks for type-widths.
 
522
        Added checks for fixed size types.
 
523
 
 
524
        * jartool.h: Use fixed size types to define u1, 
 
525
        u2 and u4. Include inttypes.h and stdint.h if 
 
526
        necessary. Guard the config.h include. Don't
 
527
        include sys/types.h.
 
528
 
 
529
2007-02-03  Dalibor Topic  <robilad@kaffe.org>
 
530
 
 
531
        * configure.ac: Use AC_CHECK_HEADERS_ONCE instead
 
532
        of AC_CHECK_HEADERS. Use AC_CHECK_FUNCS_ONCE instead
 
533
        of AC_CHECK_FUNCS.
 
534
 
 
535
        * configure: Regenerated.
 
536
 
 
537
2007-02-03  Dalibor Topic  <robilad@kaffe.org>
 
538
 
 
539
        * compile, texinfo.tex: Added new generated files.
 
540
 
 
541
        * INSTALL, Makefile.in, aclocal.m4, config.h.in, 
 
542
        configure, depcomp, install-sh, missing: Regenerated.
 
543
 
 
544
        * acinclude.m4, configure.ac: Autoupdated with 
 
545
        autoconf 2.61.
 
546
 
 
547
        * autogen.sh: Use autoreconf.
 
548
 
 
549
2007-02-03  Dalibor Topic  <robilad@kaffe.org>
 
550
 
 
551
        * .cvsignore: Added new file.
 
552
 
 
553
2007-02-03  Dalibor Topic  <robilad@kaffe.org>
 
554
 
 
555
        * README: Updated e-mail addresses, home pages,
 
556
        added section headers, and a history section, and 
 
557
        cleaned up.
 
558
 
 
559
2007-02-03  Dalibor Topic  <robilad@kaffe.org>
 
560
 
 
561
        * jartool.h [__GNUC__]: Only define __attribute__
 
562
        if it is not already defined. That fixes the build 
 
563
        with tcc.
 
564
 
 
565
2007-02-03  Dalibor Topic  <robilad@kaffe.org>
 
566
 
 
567
        * jartool.c (list_jar): Added missing casts to fix
 
568
        compiler warnings on Debian Sarge.
 
569
 
 
570
2006-08-07  Richard Guenther  <rguenther@suse.de>
 
571
 
 
572
        * jartool.c (extract_jar): Fix directory traversal fix,
 
573
        handle "." path components.
 
574
 
 
575
2006-07-12  Richard Guenther  <rguenther@suse.de>
 
576
 
 
577
        * jartool.c (extract_jar): Do not allow directory traversal
 
578
        to parents of the extraction root.
 
579
 
 
580
2006-05-27  Richard Guenther  <rguenther@suse.de>
 
581
 
 
582
        * fastjar.texi: Don't use gcc-vers.texi.
 
583
        * Makefile.am: Don't generate it.
 
584
        * Makefile.in: Re-generate.
 
585
 
 
586
2006-05-27  Richard Guenther  <rguenther@suse.de>
 
587
 
 
588
        * fastjar.texi: Pull in the only macro we need from
 
589
        gcc-common.texi.
 
590
 
 
591
2006-05-27  Richard Guenther  <rguenther@suse.de>
 
592
 
 
593
        * texi2pod.pl: Copy from gcc/contrib.
 
594
 
 
595
2006-05-27  Richard Guenther  <rguenther@suse.de>
 
596
 
 
597
        * configure.ac: Change version to 0.92 from 0.92-gcc.
 
598
        Remove configury for using in-tree zlib, instead always
 
599
        require an installed zlib for build.
 
600
        * Makefile.am: Remove gcc specific parts.
 
601
        * configure: Re-generated.
 
602
        * Makefile.in: Likewise.
 
603
        * aclocal.m4: Likewise.
 
604
 
 
605
2006-05-27  Richard Guenther  <rguenther@suse.de>
 
606
 
 
607
        * jargrep.c: Include regex.h instead of xregex.h.  Removes
 
608
        dependency on internal libiberty includes.
 
609
 
 
610
2006-05-27  Richard Guenther  <rguenther@suse.de>
 
611
 
 
612
        * fastjar.texi: Correct menu entry for the now GFDL license.
 
613
 
 
614
2006-02-08  Thomas Fitzsimmons  <fitzsim@redhat.com>
 
615
 
 
616
        * jartool.h (ACTION_INDEX): New macro.
 
617
        * jartool.c (main): Handle -i option.
 
618
        * fastjar.texi (Invoking fastjar): Add description of -i option.
 
619
 
 
620
2006-01-31  Tom Tromey  <tromey@redhat.com>
 
621
 
 
622
        * jartool.c (version): Use 2006.
 
623
        * jargrep.c (version): Use 2006.
 
624
 
 
625
2005-11-29  Tom Tromey  <tromey@redhat.com>
 
626
 
 
627
        * compress.c (write_data): Mark 'ze' as unused.
 
628
        * jartool.h (__attribute__): New define.
 
629
        * shift.c (shift_up): Added cast.
 
630
        (shift_down): Likewise.
 
631
        * jartool.c (help): Split string constant.
 
632
 
 
633
2005-06-29  Kelley Cook  <kcook@gcc.gnu.org>
 
634
 
 
635
        * all files: Update FSF address.
 
636
 
 
637
2005-05-17  Kelley Cook  <kcook@gcc.gnu.org>
 
638
 
 
639
        * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
 
640
        Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
 
641
        * Makefile.am: Remove ACLOCAL_AMFLAGS.
 
642
        * aclocal.m4, Makefile.in, configure, config.h.in: Regenerate.
 
643
 
 
644
2005-03-28  Marcin Dalecki  <martin@dalecki.de>
 
645
 
 
646
        * jartool.c (main): Indentation fixlet.
 
647
        (add_entry): Likewise.
 
648
        (init_args): Don't use K&R style.
 
649
        (jt_strdup): Likewise.
 
650
        (get_next_arg): Add explicit '(void)'.
 
651
        (init_headers): Likewise.
 
652
        (version): Likewise.
 
653
 
 
654
2005-03-15  Zack Weinberg  <zack@codesourcery.com>
 
655
 
 
656
        * Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi.
 
657
        (BASEVER, DEVPHASE): New variables.
 
658
        (POD2MAN): Adjust setting of --release option.
 
659
        (fastjar.1, grepjar.1, gcc-vers.texi): New rules.
 
660
        * Makefile.in: Regenerate.
 
661
        * configure.ac: Do not invoke TL_AC_GCC_VERSION.
 
662
        * aclocal.m4, configure: Regenerate.
 
663
 
 
664
2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
 
665
 
 
666
        * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
 
667
        * configure, aclocal.m4, Makefile.in: Regenerate.
 
668
 
 
669
2004-11-15  Kelley Cook  <kcook@gcc.gnu.org>
 
670
 
 
671
        * Makefile.am: Remove -no-dependencies.
 
672
        * Makefile.in: Regenerate.
 
673
 
 
674
2004-11-13  Kelley Cook  <kcook@gcc.gnu.org>
 
675
 
 
676
        * Makefile.am: Define ACLOCAL_AMFLAGS.
 
677
        * acinclude.m4: Remove unnecessary sinclude.
 
678
        * aclocal.m4, Makefile.in, configure: Regenerate (autoreconf 1.9.3).
 
679
 
 
680
2004-09-23  Tom Tromey  <tromey@redhat.com>
 
681
 
 
682
        * jartool.c (extract_jar): Unconditionally read extra data in the
 
683
        entry header; don't read it after the file contents.
 
684
 
 
685
2004-08-11  Kelley Cook  <kcook@gcc.gnu.org>
 
686
 
 
687
        PR bootstrap/16164
 
688
        * Makefile.am: Force fastjar.info to be built in build directory.
 
689
        * Makefile.in: Regenerate.
 
690
 
 
691
2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
 
692
 
 
693
        * Makefile.am: Rename jar binary to fastjar.
 
694
        * Makefile.in: Regenerate.
 
695
        * fastjar.texi: Rename references to jar binary with fastjar.
 
696
 
 
697
2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
 
698
 
 
699
        * jartool.c (main): Ensure that only one of ftruncate and _chsize
 
700
        is used.
 
701
 
 
702
2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
 
703
 
 
704
        PR 16472
 
705
        * configure.ac: Check for ftruncate() and _chsize().
 
706
        * jartool.c (main): Use _chsize if ftruncate not available.
 
707
        * configure, config.h.in: Rebuilt.
 
708
 
 
709
2004-07-09  Richard Sandiford  <rsandifo@redhat.com>
 
710
 
 
711
        * jartool.c (find_entry, looks_like_dir): Remove inline spec.
 
712
 
 
713
2004-07-07  Matthias Klose  <doko@debian.org>
 
714
 
 
715
        * Makefile.am (jar_CPPFLAGS): Add AM_CPPFLAGS.
 
716
        * Makefile.in: Regenerate.
 
717
 
 
718
2004-07-06  Matthias Klose  <doko@debian.org>
 
719
 
 
720
        * Makefile.in: Regenerate.
 
721
        * fastjar.texi: Update for '-u'.
 
722
 
 
723
2004-07-06  Casey Marshall <csm@gnu.org>
 
724
 
 
725
        PR 7854
 
726
        * Makefile.am
 
727
        (jar_SOURCES): added shift.c, shift.h.
 
728
        (jar_CPPFLAGS): define WITH_SHIFT_DOWN.
 
729
 
 
730
        * compress.c
 
731
        Added FSF copyright.
 
732
        (write_data): new function.
 
733
        (compress_file): call write_data.
 
734
 
 
735
        * jartool.c
 
736
        Updated copyright year.
 
737
        (progname): new variable.
 
738
        (end_of_entries): new variable.
 
739
        (main): open and read file when updating.
 
740
        (find_entry): new function.
 
741
        (looks_like_dir): new function.
 
742
        (read_entries): new function.
 
743
        (make_manifest): added parameter `updating'.
 
744
        Call `add_file_to_jar' with `updating'.
 
745
        (add_to_jar_with_dir): added parameter `updating'.
 
746
        Call `add_to_jar' with `updating'.
 
747
        (add_to_jar): added parameter `updating'.
 
748
        Call `add_file_to_jar' with `updating'.
 
749
        Don't add directories if they already exist.
 
750
        (add_file_to_jar): added parameter `updating'.
 
751
        Update entries if they already exist.
 
752
 
 
753
        * jartool.h
 
754
        Added #ifndef __FASTJAR_JARTOOL_H__.
 
755
        (struct zipentry): added `flags'.
 
756
 
 
757
        * shift.c: new file.
 
758
 
 
759
        * shift.h: new file.
 
760
 
 
761
        * zipfile.h
 
762
        (CEN_FLAGS): new constant.
 
763
 
 
764
2004-07-05  Kelley Cook  <kcook@gcc.gnu.org>
 
765
 
 
766
        * Makefile.am: Silence two automake warnings.
 
767
        * Makefile.in: Regenerate.
 
768
 
 
769
2004-06-25  Kelley Cook  <kcook@gcc.gnu.org>
 
770
 
 
771
        PR other/15194
 
772
        * configure.ac: Add check for long long.
 
773
        * jartool.h: Check for long long before using it.
 
774
        * configure: Regenerate
 
775
        * config.h.in: Regenerate.
 
776
 
 
777
2004-06-15  Paolo Bonzini  <bonzini@gnu.org>
 
778
 
 
779
        * acinclude.m4: Quote first argument of AC_DEFUNs.
 
780
        * aclocal.m4: Regenerate with automake 1.8.
 
781
        * Makefile.in: Likewise.
 
782
        * configure: Regenerate.
 
783
        * .cvsignore: New file.
 
784
 
 
785
2004-04-12  Kelley Cook  <kcook@gcc.gnu.org>
 
786
 
 
787
        PR bootstrap/14905
 
788
        * configure.ac: Parse --enable-generated-files-in-srcdir.
 
789
        * Makefile.am: Copy man and info files to srcdir if requested.
 
790
        * configure: Regenerate.
 
791
        * Makefile.in Regenerate.
 
792
 
 
793
2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>
 
794
 
 
795
        * configure.ac: Bump AC_PREREQ to 2.59.
 
796
        * configure: Regenerate.
 
797
 
 
798
2004-03-09  Hans-Peter Nilsson  <hp@axis.com>
 
799
 
 
800
        * configure: Regenerate for config/accross.m4 correction.
 
801
 
 
802
2004-01-09  Kelley Cook  <kcook@gcc.gnu.org>
 
803
 
 
804
        * configure.in: Rename file to ...
 
805
        * configure.ac: ... this.  Add in AC_PREREQ(2.57)
 
806
        * config.h.in: Regenerate.
 
807
        * aclocal.m4: Regenerate.
 
808
        * Makefile.in: Regenerate.
 
809
 
 
810
2004-01-07  Andreas Tobler  <a.tobler@schweiz.ch>
 
811
 
 
812
        * jartool.c (make_manifest): Fix off-by-one bug when creating
 
813
        an empty MANIFEST.MF.
 
814
 
 
815
2003-12-01  Kelley Cook  <kcook@gcc.gnu.org>
 
816
 
 
817
        * Makefile.am: Define AM_MAKINFOFLAGS.  Remove Automake 1.4 hack.
 
818
        * Makefile.in: Regenerate with automake 1.7.6 & autoconf 2.57 tools.
 
819
        * aclocal.m4, config.h.in, configure: Likewise.
 
820
        * install-sh, missing, mkinstalldirs, stamp-h.in: Remove.
 
821
 
 
822
2003-11-21  Kelley Cook  <kcook@gcc.gnu.org>
 
823
 
 
824
        * .cvsignore: Delete.
 
825
 
 
826
2003-10-30  Kelley Cook  <kcook@gcc.gnu.org>
 
827
 
 
828
        * Makefile.am (my_make_i_flags): Add $(srcdir) and update comment
 
829
        to match.
 
830
        (fastjar.info): Update target to write to build directory.
 
831
        (%.1): New implicit rule from a .pod file.
 
832
        (jar.1): Delete.
 
833
        (grepjar.1): Delete.
 
834
        (jar.pod): New intermediate rule.
 
835
        (grepjar.pod): Likewise.
 
836
        * Makefile.in: Regenerate.
 
837
 
 
838
2003-08-13  Matthias Klose  <doko@debian.org>
 
839
 
 
840
        * fastjar.texi: License manual under the GPL.
 
841
        * Makefile.am: Remove reference to fdl.texi
 
842
        * Makefile.in: Regenerate
 
843
 
 
844
2003-07-29  Nathanael Nerode  <neroden@gcc.gnu.org>
 
845
 
 
846
        * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
 
847
 
 
848
2003-07-11  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
 
849
 
 
850
        * README: Note that FastJar is not part of GCC.
 
851
 
 
852
2003-07-02  Nathanael Nerode  <neroden@gcc.gnu.org>
 
853
 
 
854
        PR java/9532
 
855
        * jartool.c (add_to_jar): Return 1 on failure to open file.
 
856
        Split out -C case to:
 
857
        * jartool.c (add_to_jar_with_dir): New function.
 
858
 
 
859
2003-06-15  Nathanael Nerode  <neroden@gcc.gnu.org>
 
860
 
 
861
        PR java/9532
 
862
        * jartool.c (main) Give proper error messages with -C, and
 
863
        check for missing arguments properly.  Send error messages
 
864
        to stderr.
 
865
        * jartool.c (add_to_jar): Make getcwd() call portable,
 
866
        and check for error return.
 
867
 
 
868
2003-03-30  Joseph S. Myers  <jsm@polyomino.org.uk>
 
869
 
 
870
        * fastjar.texi: Remove @ at start of file.
 
871
 
 
872
2003-03-10  Mohan Embar  <gnustuff@thisiscool.com>
 
873
 
 
874
        * dostime.c: add #include <stddef.h> for definition of NULL
 
875
 
 
876
2003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
 
877
 
 
878
        * fastjar.texi: Update to GFDL 1.2.
 
879
 
 
880
2003-01-31  Daiki Ueno  <ueno@unixuser.org>
 
881
 
 
882
        * jartool.c (extract_jar): Don't lseek to skip extra fields.
 
883
        (consume): If the stream is seekable, do lseek.
 
884
 
 
885
2003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
 
886
 
 
887
        * jargrep.c: Include xregex.h from libiberty instead of
 
888
        system regex.h for better portability.
 
889
 
 
890
2003-01-21  Ranjit Mathew  <rmathew@hotmail.com>
 
891
 
 
892
        * jartool.c (list_jar): Terminate the 'ascii_date' buffer
 
893
        with a '\0' to guard against the case where the formatted
 
894
        time string is more than the size allowed by the buffer.
 
895
 
 
896
2003-01-14  Tom Tromey  <tromey@redhat.com>
 
897
 
 
898
        * config.h.in: Rebuilt.
 
899
 
 
900
2002-12-30  DJ Delorie  <dj@redhat.com>
 
901
 
 
902
        * Makefile.am (jar.1, grepjar.1): Protect against
 
903
        texi2pod/pod2man failing.
 
904
        * Makefile.in: Regenerated.
 
905
 
 
906
2002-12-23  Joseph S. Myers  <jsm@polyomino.org.uk>
 
907
 
 
908
        * fastjar.texi: Include Cover Texts in man page.
 
909
 
 
910
2002-12-04  Jakub Jelinek  <jakub@redhat.com>
 
911
 
 
912
        * fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
 
913
 
 
914
2002-11-23  H.J. Lu <hjl@gnu.org>
 
915
 
 
916
        * acinclude.m4: Include ../config/accross.m4.
 
917
        (gcc_AC_COMPILE_CHECK_SIZEOF): Removed.
 
918
        (gcc_AC_EXAMINE_OBJECT): Removed.
 
919
        (gcc_AC_C_COMPILE_ENDIAN): Removed.
 
920
        * aclocal.m4; Rebuild.
 
921
 
 
922
        * configure.in: Replace AC_C_BIGENDIAN with AC_C_BIGENDIAN_CROSS.
 
923
        Replace AC_CHECK_SIZEOF with AC_COMPILE_CHECK_SIZEOF.
 
924
        * configure: Likewise.
 
925
 
 
926
2002-11-21  Ranjit Mathew <rmathew@hotmail.com>
 
927
 
 
928
        * jartool.c (extract_jar): Use "open" with O_BINARY instead of
 
929
        "creat" to create extracted files.
 
930
 
 
931
2002-11-11  Tom Tromey  <tromey@redhat.com>
 
932
 
 
933
        * dostime.c (dos2unixtime): Mask for seconds is 0x1f.  Correctly
 
934
        compute month.
 
935
        (unix2dostime): Handle years before 1980.  Correctly compute month
 
936
        and day of month.
 
937
 
 
938
2002-11-10  Jakub Jelinek  <jakub@redhat.com>
 
939
 
 
940
        * jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
 
941
        non-NULL.
 
942
 
 
943
        * configure.in (AC_CHECK_HEADERS): Add limits.h.
 
944
        * configure, config.h.in: Rebuilt.
 
945
 
 
946
2002-11-07  Tom Tromey  <tromey@redhat.com>
 
947
 
 
948
        * dostime.c: Rewrote from scratch.
 
949
        * dostime.h (dostime): Removed.
 
950
 
 
951
2002-10-20  Tom Tromey  <tromey@redhat.com>
 
952
 
 
953
        * jartool.c: Use mode 0666 when opening new file.
 
954
 
 
955
2002-09-16  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
 
956
 
 
957
        * jargrep.c (chk_wrd): Remove unused variable(s).
 
958
        * jartool.c (main, create_central_header, list_jar): Likewise.
 
959
 
 
960
2002-10-15  Ranjit Mathew  <rmathew@hotmail.com>
 
961
 
 
962
        * configure, config.h.in: Rebuilt.
 
963
        * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
 
964
 
 
965
2002-09-11  Tom Tromey  <tromey@redhat.com>
 
966
 
 
967
        * Makefile.in: Rebuilt.
 
968
        * Makefile.am (TEXINFO_TEX): New macro.
 
969
        (info_TEXINFOS): Likewise.
 
970
        (fastjar_TEXINFOS): Likewise.
 
971
        (man_MANS): Likewise.
 
972
        (EXTRA_DIST): Likewise.
 
973
        (my_makei_flags): Likewise.
 
974
        (fastjar.info): New rule.
 
975
        (fastjar_TEXINFOS): Don't mention `$(srcdir)'.
 
976
        (TEXINFO_TEX): Likewise.
 
977
        (AUTOMAKE_OPTIONS): Added `cygnus'.
 
978
 
 
979
2002-09-11  Matthias Klose  <doko@debian.org>
 
980
 
 
981
        * Makefile.am: Revert the previous patch.
 
982
        * Makefile.in: Regenerated.
 
983
 
 
984
2002-09-10  Matthias Klose  <doko@debian.org>
 
985
 
 
986
        * fastjar.texi: New.
 
987
        * Makefile.am: Support building info docs and manpages.
 
988
        * Makefile.in: Regenerated.
 
989
        * configure.in: Set gcc_version.
 
990
        * configure: Regenerated.
 
991
        * jargrep.c: Update usage and help strings.
 
992
 
 
993
2002-09-09  Tom Tromey  <tromey@redhat.com>
 
994
 
 
995
        * jartool.c (mkdir): Define.
 
996
        * config.h.in: Rebuilt.
 
997
        * aclocal.m4, configure: Rebuilt.
 
998
        * acinclude.m4: New file.  Copied gcc_AC_COMPILE_CHECK_SIZEOF,
 
999
        gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
 
1000
        aclocal.m4.
 
1001
 
 
1002
2002-09-04  Tom Tromey  <tromey@redhat.com>
 
1003
 
 
1004
        From greenrd@hotmail.com:
 
1005
        * jartool.c (list_jar): Correctly determine when new `filename'
 
1006
        buffer must be allocated.  Fixes PR java/7830.
 
1007
 
 
1008
2002-06-03  Geoffrey Keating  <geoffk@redhat.com>
 
1009
 
 
1010
        * configure.in: Support cross-compiling.
 
1011
        * configure: Regenerate.
 
1012
        * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
 
1013
        (gcc_AC_EXAMINE_OBJECT): New.
 
1014
        (fastjar_AC_COMPILE_C_BIGENDIAN): New.
 
1015
 
 
1016
2002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
 
1017
 
 
1018
        * jartool.c (expand_options): Handle tar-style argument list with a
 
1019
        leading "-".
 
1020
 
 
1021
2002-02-23  Anthony Green  <green@redhat.com>
 
1022
 
 
1023
        * jartool.c (main): Fix handling of -C.
 
1024
 
 
1025
2002-01-30  Tom Tromey  <tromey@redhat.com>
 
1026
 
 
1027
        * jartool.c (main): NULL-terminate new_argv.  Pass 0 as argument
 
1028
        to init_args.
 
1029
 
 
1030
2002-01-11  Tom Tromey  <tromey@redhat.com>
 
1031
 
 
1032
        * Makefile.in: Rebuilt.
 
1033
        * Makefile.am (AUTOMAKE_OPTIONS): New macro.
 
1034
 
 
1035
2002-01-09  Tom Tromey  <tromey@redhat.com>
 
1036
 
 
1037
        For PR libgcj/5303:
 
1038
        * jargrep.h: Removed RCS keywords.
 
1039
        (GVERSION): Removed.
 
1040
        * configure, Makefile.in, config.h.in: Rebuilt.
 
1041
        * configure.in: Added AM_MAINTAINER_MODE.
 
1042
        Don't look for getopt.h.  Use `fastjar' as package name.
 
1043
        * Makefile.am (INCLUDES): Look in ../include.
 
1044
        (LIBIBERTY): New macro.
 
1045
        (jar_LDADD): Use it.
 
1046
        (jar_DEPENDENCIES): Likewise.
 
1047
        (grepjar_LDADD): Likewise.
 
1048
        (grepjar_DEPENDENCIES): Likewise.
 
1049
        * jargrep.c: Removed RCS keywords.  Always include getopt.h.
 
1050
        (LONG_OPT): New macro.
 
1051
        (OPT_HELP): Likewise.
 
1052
        (main): Use getopt_long.  Let getopt print invalid argument
 
1053
        message.  Handle --help.  Use version().
 
1054
        (version): New function.
 
1055
        (optarg, optind): Don't declare.
 
1056
        (option_vec): New global.
 
1057
        (help): New function.
 
1058
        (Usage): Updated to GNU standards.
 
1059
        * jartool.c: Removed RCS keywords.  Include getopt.h.
 
1060
        (LONG_OPT): New macro.
 
1061
        (OPT_HELP): Likewise.
 
1062
        (options): New global.
 
1063
        (help): New function.
 
1064
        (usage): Print a single line.
 
1065
        (version): New function.
 
1066
        (expand_options): New function.
 
1067
        (main): Use getopt_long and expand_options.  Fail if `-u'
 
1068
        specified.  Changed handling of -f, -m, -V options.
 
1069
        (OPTION_STRING): New macro.
 
1070
        (version_string): Removed.
 
1071
 
 
1072
2001-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
 
1073
 
 
1074
        PR bootstrap/5117
 
1075
        * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
 
1076
        * Makefile.am: Move grepjar to bin_PROGRAMS.
 
1077
        * config.h.in: Regenerated.
 
1078
        * Makefile.in: Regenerated.
 
1079
        * aclocal.m4: Regenerated.
 
1080
        * stamp-h.in: Regenerated.
 
1081
        * jargrep.c: Eliminate some signed/unsigned and default
 
1082
        uninitialized warnings. Use HAVE_STDLIB_H instead of
 
1083
        STDC_HEADERS macro.
 
1084
        * jartool.c: Likewise.
 
1085
        * compress.c: Likewise.
 
1086
 
 
1087
2001-09-17  Tom Tromey  <tromey@redhat.com>
 
1088
 
 
1089
        For PR java/4295:
 
1090
        * aclocal.m4, configure, Makefile.in: Rebuilt.
 
1091
        * configure.in: Added AC_EXEEXT.
 
1092
 
 
1093
2001-10-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
 
1094
 
 
1095
        * jatool.c (extract_jar): Account for null termination when determining
 
1096
        whether to expand "filename".
 
1097
 
 
1098
2001-08-28  Alexandre Petit-Bianco  <apbianco@redhat.com>
 
1099
 
 
1100
        * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
 
1101
        Fixes PR java/3949.
 
1102
 
 
1103
2001-08-27  Tom Tromey  <tromey@redhat.com>
 
1104
 
 
1105
        * jartool.c (jarfile): Remove length limitation.
 
1106
        (main): Use jt_strdup when initializing jarfile.
 
1107
 
 
1108
2001-07-04  Tom Tromey  <tromey@redhat.com>
 
1109
 
 
1110
        Modified from patch by Julian Hall <jules@acris.co.uk>:
 
1111
        * jartool.c (errno): Conditionally declare.
 
1112
        (O_BINARY): Conditionally define.
 
1113
        (main): Use open, not creat.  Use O_BINARY everywhere.
 
1114
        (make_manifest): Use O_BINARY.
 
1115
        (add_to_jar): Likewise.
 
1116
 
 
1117
2001-06-28  Tom Tromey  <tromey@redhat.com>
 
1118
 
 
1119
        * configure: Rebuilt.
 
1120
        * configure.in: Accept --with-system-zlib.  Fixes PR java/3441.
 
1121
 
 
1122
2001-05-15  Per Bothner  <per@bothner.com>
 
1123
 
 
1124
        * Makefile.am (bin_PROGRAMS):  Renamed from "fastjar" to "jar".
 
1125
 
 
1126
2001-05-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
 
1127
 
 
1128
        * jartool.c (jt_strdup): New function.
 
1129
        (get_next_arg): Use jt_strdup instead of strdup.
 
1130
 
 
1131
2001-01-21  Tom Tromey  <tromey@redhat.com>
 
1132
 
 
1133
        * Makefile.in: Rebuilt.
 
1134
        * Makefile.am (bin_PROGRAMS): Remove grepjar.
 
1135
        (EXTRA_PROGRAMS): New macro.
 
1136
 
 
1137
2000-12-28  Robert Lipe <robertl@sco.com>
 
1138
 
 
1139
        * jartool.c (MAXPATHLEN): Provide if not defined.
 
1140
 
 
1141
2000-12-15  Tom Tromey  <tromey@redhat.com>
 
1142
            Kelley Cook <kelleycook@home.com>
 
1143
 
 
1144
        * jargrep.c: Include getopt.h if it exists.
 
1145
        (optind): Declare.
 
1146
        * configure, config.h: Rebuilt.
 
1147
        * configure.in: Check for getopt.h.
 
1148
 
 
1149
2000-12-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
1150
 
 
1151
        * configure.in (fastjar_warn_cflags): Set when using gcc.
 
1152
 
 
1153
        * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
 
1154
 
 
1155
2000-12-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
1156
 
 
1157
        * compress.c: Include stdlib.h and compress.h.
 
1158
        (rcsid): Delete.
 
1159
        (report_str_error): Make static.
 
1160
        (ez_inflate_str): Delete unused variable.  Add parens in if-stmt.
 
1161
        (hrd_inflate_str): Likewise.
 
1162
 
 
1163
        * compress.h (init_compression, end_compression, init_inflation,
 
1164
        end_inflation): Prototype void arguments.
 
1165
 
 
1166
        * dostime.c (rcsid): Delete.
 
1167
 
 
1168
        * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
 
1169
        Make functions static.  Cast ctype function argument to `unsigned
 
1170
        char'.  Add parens in if-stmts.  Constify.
 
1171
        (Usage): Change into a macro.
 
1172
        (jargrep): Remove unused parameter.
 
1173
 
 
1174
        * jartool.c: Constify.  Add parens in if-stmts.  Align
 
1175
        signed/unsigned char pointers in functions calls using casts.
 
1176
        (rcsid): Delete.
 
1177
        (list_jar): Fix printf format specifier.
 
1178
        (usage): Chop long string into bits.  Reformat.
 
1179
 
 
1180
        * pushback.c (rcsid): Delete.
 
1181
 
 
1182
2000-12-13  Tom Tromey  <tromey@redhat.com>
 
1183
 
 
1184
        * jartool.c (extract_jar): Use strchr, not index.
 
1185
 
 
1186
2000-12-11  Alexandre Petit-Bianco  <apbianco@cygnus.com>
 
1187
 
 
1188
        * install-defs.sh: Removed.
 
1189
 
 
1190
2000-12-10  Robert Lipe <robertlipe@usa.net>
 
1191
 
 
1192
        * jargrep.c (jargrep): Added null statement after case.
 
1193
 
 
1194
2000-12-10  Alexandre Petit-Bianco  <apbianco@cygnus.com>
 
1195
 
 
1196
        * Makefile: Removed.
 
1197
        * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
 
1198
 
 
1199
Tue Nov 16 15:11:36 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
 
1200
 
 
1201
        * Makefile.am: New file.
 
1202
        * Makefile.in: Rebuilt.
 
1203
        * aclocal.m4: Likewise.
 
1204
        * stamp-h.in: Likewise.
 
1205
        * config.h.in: Likewise.
 
1206
        * configure.in (AM_INIT_AUTOMAKE): Added.
 
1207
        (AM_CONFIG_HEADER): Likewise.
 
1208
        (AC_CHECK_HEADERS): Check for sys/param.h
 
1209
        (AC_CHECK_LIB): Don't check for system's zlib.
 
1210
        (AC_CHECK_FUNC): Removed system's zlib function checks.
 
1211
        (ZDEPS. ZLIBS, ZINCS): Added.
 
1212
        * configure: Rebuilt.
 
1213
        * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
 
1214
        (init_args, get_next_arg): New function.
 
1215
        (use_explicit_list_only, read_names_from_stdin): New global
 
1216
        (main): Parse new non standard options 'E' and '@', check and
 
1217
        report their usage if necessary. Use init_args and get_next_arg.
 
1218
        Fixed indentation.
 
1219
        (add_to_jar): Don't read directory content if `use_explicit_list_only'.
 
1220
        (usage): Added `-E' and `-@'.
 
1221
        * jartool.h (VERSION): Macro removed.
 
1222
 
 
1223
Tue Nov 14 15:10:44 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
 
1224
 
 
1225
        * fastjar imported from sourceforge.net/projects/fastjar with
 
1226
        Bryan Burns' permission. Check `CHANGES' for post import changes.
 
1227
        * ChangeLog: Created.
 
1228
        * NEWS: Likewise.
 
1229
        * mkinstalldirs: Likewise.
 
1230
        * COPYING: Likewise.
 
1231
        * AUTHORS: Likewise.