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