OSDN Git Service

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