OSDN Git Service

* config/locale/c_locale_generic.cc: Check errno for ERANGE
[pf3gnuchains/gcc-fork.git] / fastjar / ChangeLog
1 2002-01-11  Tom Tromey  <tromey@redhat.com>
2
3         * Makefile.in: Rebuilt.
4         * Makefile.am (AUTOMAKE_OPTIONS): New macro.
5
6 2002-01-09  Tom Tromey  <tromey@redhat.com>
7
8         For PR libgcj/5303:
9         * jargrep.h: Removed RCS keywords.
10         (GVERSION): Removed.
11         * configure, Makefile.in, config.h.in: Rebuilt.
12         * configure.in: Added AM_MAINTAINER_MODE.
13         Don't look for getopt.h.  Use `fastjar' as package name.
14         * Makefile.am (INCLUDES): Look in ../include.
15         (LIBIBERTY): New macro.
16         (jar_LDADD): Use it.
17         (jar_DEPENDENCIES): Likewise.
18         (grepjar_LDADD): Likewise.
19         (grepjar_DEPENDENCIES): Likewise.
20         * jargrep.c: Removed RCS keywords.  Always include getopt.h.
21         (LONG_OPT): New macro.
22         (OPT_HELP): Likewise.
23         (main): Use getopt_long.  Let getopt print invalid argument
24         message.  Handle --help.  Use version().
25         (version): New function.
26         (optarg, optind): Don't declare.
27         (option_vec): New global.
28         (help): New function.
29         (Usage): Updated to GNU standards.
30         * jartool.c: Removed RCS keywords.  Include getopt.h.
31         (LONG_OPT): New macro.
32         (OPT_HELP): Likewise.
33         (options): New global.
34         (help): New function.
35         (usage): Print a single line.
36         (version): New function.
37         (expand_options): New function.
38         (main): Use getopt_long and expand_options.  Fail if `-u'
39         specified.  Changed handling of -f, -m, -V options.
40         (OPTION_STRING): New macro.
41         (version_string): Removed.
42
43 2001-01-02  Craig Rodrigues  <rodrigc@gcc.gnu.org>
44
45         PR bootstrap/5117
46         * configure.in (AC_CHECK_HEADERS): Check for stdlib.h.
47         * Makefile.am: Move grepjar to bin_PROGRAMS.
48         * config.h.in: Regenerated.
49         * Makefile.in: Regenerated.
50         * aclocal.m4: Regenerated.
51         * stamp-h.in: Regenerated.
52         * jargrep.c: Eliminate some signed/unsigned and default
53         uninitialized warnings. Use HAVE_STDLIB_H instead of 
54         STDC_HEADERS macro.
55         * jartool.c: Likewise.
56         * compress.c: Likewise.
57
58 2001-09-17  Tom Tromey  <tromey@redhat.com>
59
60         For PR java/4295:
61         * aclocal.m4, configure, Makefile.in: Rebuilt.
62         * configure.in: Added AC_EXEEXT.
63
64 2001-10-12  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
65
66         * jatool.c (extract_jar): Account for null termination when determining
67         whether to expand "filename".
68
69 2001-08-28  Alexandre Petit-Bianco  <apbianco@redhat.com>
70
71         * jartool.c (add_to_jar): Return 1 if `stat' initialy failed.
72         Fixes PR java/3949.
73
74 2001-08-27  Tom Tromey  <tromey@redhat.com>
75
76         * jartool.c (jarfile): Remove length limitation.
77         (main): Use jt_strdup when initializing jarfile.
78
79 2001-07-04  Tom Tromey  <tromey@redhat.com>
80
81         Modified from patch by Julian Hall <jules@acris.co.uk>:
82         * jartool.c (errno): Conditionally declare.
83         (O_BINARY): Conditionally define.
84         (main): Use open, not creat.  Use O_BINARY everywhere.
85         (make_manifest): Use O_BINARY.
86         (add_to_jar): Likewise.
87
88 2001-06-28  Tom Tromey  <tromey@redhat.com>
89
90         * configure: Rebuilt.
91         * configure.in: Accept --with-system-zlib.  Fixes PR java/3441.
92
93 2001-05-15  Per Bothner  <per@bothner.com>
94
95         * Makefile.am (bin_PROGRAMS):  Renamed from "fastjar" to "jar".
96
97 2001-05-03  John David Anglin  <dave@hiauly1.hia.nrc.ca>
98
99         * jartool.c (jt_strdup): New function.
100         (get_next_arg): Use jt_strdup instead of strdup.
101
102 2001-01-21  Tom Tromey  <tromey@redhat.com>
103
104         * Makefile.in: Rebuilt.
105         * Makefile.am (bin_PROGRAMS): Remove grepjar.
106         (EXTRA_PROGRAMS): New macro.
107
108 2000-12-28  Robert Lipe <robertl@sco.com>
109
110         * jartool.c (MAXPATHLEN): Provide if not defined.
111
112 2000-12-15  Tom Tromey  <tromey@redhat.com>
113             Kelley Cook <kelleycook@home.com>
114
115         * jargrep.c: Include getopt.h if it exists.
116         (optind): Declare.
117         * configure, config.h: Rebuilt.
118         * configure.in: Check for getopt.h.
119
120 2000-12-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
121
122         * configure.in (fastjar_warn_cflags): Set when using gcc.
123
124         * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@.
125
126 2000-12-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
127
128         * compress.c: Include stdlib.h and compress.h.
129         (rcsid): Delete.
130         (report_str_error): Make static.
131         (ez_inflate_str): Delete unused variable.  Add parens in if-stmt.
132         (hrd_inflate_str): Likewise.
133
134         * compress.h (init_compression, end_compression, init_inflation,
135         end_inflation): Prototype void arguments.
136
137         * dostime.c (rcsid): Delete.
138
139         * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
140         Make functions static.  Cast ctype function argument to `unsigned
141         char'.  Add parens in if-stmts.  Constify.
142         (Usage): Change into a macro.
143         (jargrep): Remove unused parameter.
144
145         * jartool.c: Constify.  Add parens in if-stmts.  Align
146         signed/unsigned char pointers in functions calls using casts.
147         (rcsid): Delete.
148         (list_jar): Fix printf format specifier.
149         (usage): Chop long string into bits.  Reformat.
150
151         * pushback.c (rcsid): Delete.
152
153 2000-12-13  Tom Tromey  <tromey@redhat.com>
154
155         * jartool.c (extract_jar): Use strchr, not index.
156
157 2000-12-11  Alexandre Petit-Bianco  <apbianco@cygnus.com>
158
159         * install-defs.sh: Removed.
160
161 2000-12-10  Robert Lipe <robertlipe@usa.net>
162
163         * jargrep.c (jargrep): Added null statement after case.
164
165 2000-12-10  Alexandre Petit-Bianco  <apbianco@cygnus.com>
166
167         * Makefile: Removed.
168         * Makefile.in: Rebuilt with `-i' and `--enable-foreign'.
169
170 Tue Nov 16 15:11:36 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
171
172         * Makefile.am: New file.
173         * Makefile.in: Rebuilt.
174         * aclocal.m4: Likewise.
175         * stamp-h.in: Likewise.
176         * config.h.in: Likewise.
177         * configure.in (AM_INIT_AUTOMAKE): Added.
178         (AM_CONFIG_HEADER): Likewise.
179         (AC_CHECK_HEADERS): Check for sys/param.h
180         (AC_CHECK_LIB): Don't check for system's zlib.
181         (AC_CHECK_FUNC): Removed system's zlib function checks.
182         (ZDEPS. ZLIBS, ZINCS): Added.
183         * configure: Rebuilt.
184         * jartool.c (sys/param.h): Conditionally included or define MAXPATHLEN.
185         (init_args, get_next_arg): New function.
186         (use_explicit_list_only, read_names_from_stdin): New global
187         (main): Parse new non standard options 'E' and '@', check and
188         report their usage if necessary. Use init_args and get_next_arg.
189         Fixed indentation.
190         (add_to_jar): Don't read directory content if `use_explicit_list_only'.
191         (usage): Added `-E' and `-@'.
192         * jartool.h (VERSION): Macro removed.
193
194 Tue Nov 14 15:10:44 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
195
196         * fastjar imported from sourceforge.net/projects/fastjar with
197         Bryan Burns' permission. Check `CHANGES' for post import changes.
198         * ChangeLog: Created.
199         * NEWS: Likewise.
200         * mkinstalldirs: Likewise.
201         * COPYING: Likewise.
202         * AUTHORS: Likewise.