aboutsummaryrefslogtreecommitdiff
path: root/fastjar
AgeCommit message (Collapse)AuthorFilesLines
2002-10-15configure, [...]: Rebuilt.Ranjit Mathew4-90/+158
2002-10-15 Ranjit Mathew <rmathew@hotmail.com> * configure, config.h.in: Rebuilt. * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG. From-SVN: r58175
2002-09-12Makefile.in: Rebuilt.Tom Tromey4-27/+288
* Makefile.in: Rebuilt. * Makefile.am (TEXINFO_TEX): New macro. (info_TEXINFOS): Likewise. (fastjar_TEXINFOS): Likewise. (man_MANS): Likewise. (EXTRA_DIST): Likewise. (my_makei_flags): Likewise. (fastjar.info): New rule. (fastjar_TEXINFOS): Don't mention `$(srcdir)'. (TEXINFO_TEX): Likewise. (AUTOMAKE_OPTIONS): Added `cygnus'. From-SVN: r57043
2002-09-11Makefile.am: Revert the previous patch.Matthias Klose3-209/+26
2002-09-11 Matthias Klose <doko@debian.org> * Makefile.am: Revert the previous patch. * Makefile.in: Regenerated. From-SVN: r57022
2002-09-10fastjar.texi: New.Matthias Klose7-166/+639
2002-09-10 Matthias Klose <doko@debian.org> * fastjar.texi: New. * Makefile.am: Support building info docs and manpages. * Makefile.in: Regenerated. * configure.in: Set gcc_version. * configure: Regenerated. * jargrep.c: Update usage and help strings. From-SVN: r57013
2002-09-09jartool.c (mkdir): Define.Tom Tromey7-229/+412
* jartool.c (mkdir): Define. * config.h.in: Rebuilt. * aclocal.m4, configure: Rebuilt. * acinclude.m4: New file. Copied gcc_AC_COMPILE_CHECK_SIZEOF, gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from aclocal.m4. From-SVN: r56983
2002-09-04re PR java/7830 (Off-by-one buffer overruns in fastjar tool)Tom Tromey2-2/+8
From greenrd@hotmail.com: * jartool.c (list_jar): Correctly determine when new `filename' buffer must be allocated. Fixes PR java/7830. From-SVN: r56818
2002-06-03configure.in: Support cross-compiling.Geoffrey Keating4-260/+351
* configure.in: Support cross-compiling. * configure: Regenerate. * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New. (gcc_AC_EXAMINE_OBJECT): New. (fastjar_AC_COMPILE_C_BIGENDIAN): New. From-SVN: r54216
2002-03-18jartool.c (expand_options): Handle tar-style argument list with a leading "-".Bryce McKinlay2-3/+19
* jartool.c (expand_options): Handle tar-style argument list with a leading "-". From-SVN: r50957
2002-02-24jar -C fixAnthony Green2-4/+10
From-SVN: r50009
2002-01-31jartool.c (main): NULL-terminate new_argv.Tom Tromey2-1/+7
* jartool.c (main): NULL-terminate new_argv. Pass 0 as argument to init_args. From-SVN: r49351
2002-01-13Makefile.in: Rebuilt.Tom Tromey3-55/+25
* Makefile.in: Rebuilt. * Makefile.am (AUTOMAKE_OPTIONS): New macro. From-SVN: r48818
2002-01-09For PR libgcj/5303:Tom Tromey10-222/+580
* jargrep.h: Removed RCS keywords. (GVERSION): Removed. * configure, Makefile.in, config.h.in: Rebuilt. * configure.in: Added AM_MAINTAINER_MODE. Don't look for getopt.h. Use `fastjar' as package name. * Makefile.am (INCLUDES): Look in ../include. (LIBIBERTY): New macro. (jar_LDADD): Use it. (jar_DEPENDENCIES): Likewise. (grepjar_LDADD): Likewise. (grepjar_DEPENDENCIES): Likewise. * jargrep.c: Removed RCS keywords. Always include getopt.h. (LONG_OPT): New macro. (OPT_HELP): Likewise. (main): Use getopt_long. Let getopt print invalid argument message. Handle --help. Use version(). (version): New function. (optarg, optind): Don't declare. (option_vec): New global. (help): New function. (Usage): Updated to GNU standards. * jartool.c: Removed RCS keywords. Include getopt.h. (LONG_OPT): New macro. (OPT_HELP): Likewise. (options): New global. (help): New function. (usage): Print a single line. (version): New function. (expand_options): New function. (main): Use getopt_long and expand_options. Fail if `-u' specified. Changed handling of -f, -m, -V options. (OPTION_STRING): New macro. (version_string): Removed. From-SVN: r48697
2002-01-03re PR bootstrap/5117 (irix6.5 bootstrap failure when using SGI's compiler)Craig Rodrigues1-0/+2
2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org> PR bootstrap/5117 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h. * Makefile.am: Move grepjar to bin_PROGRAMS. * config.h.in: Regenerated. * Makefile.in: Regenerated. * aclocal.m4: Regenerated. * stamp-h.in: Regenerated. * jargrep.c: Eliminate some signed/unsigned and default uninitialized warnings. Use HAVE_STDLIB_H instead of STDC_HEADERS macro. * jartool.c: Likewise. * compress.c: Likewise. From-SVN: r48495
2002-01-03re PR bootstrap/5117 (irix6.5 bootstrap failure when using SGI's compiler)Craig Rodrigues10-179/+218
2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org> PR bootstrap/5117 * configure.in (AC_CHECK_HEADERS): Check for stdlib.h. * Makefile.am: Move grepjar to bin_PROGRAMS. * config.h.in: Regenerated. * Makefile.in: Regenerated. * aclocal.m4: Regenerated. * jargrep.c: Eliminate some signed/unsigned and default uninitialized warnings. Use HAVE_STDLIB_H instead of STDC_HEADERS macro. * jartool.c: Likewise. * compress.c: Likewise. From-SVN: r48493
2001-10-17For PR java/4295:Tom Tromey4-63/+168
* aclocal.m4, configure, Makefile.in: Rebuilt. * configure.in: Added AC_EXEEXT. From-SVN: r46316
2001-10-12jatool.c (extract_jar): Account for null termination when determining ↵Bryce McKinlay2-2/+15
whether to expand "filename". * jatool.c (extract_jar): Account for null termination when determining whether to expand "filename". From-SVN: r46220
2001-08-28re PR java/3949 (fastjar exits success if @file not found)Alexandre Petit-Bianco2-1/+11
2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com> * jartool.c (add_to_jar): Return 1 if `stat' initialy failed. Fixes PR java/3949. (http://gcc.gnu.org/ml/gcc-patches/2001-08/msg01641.html) From-SVN: r45250
2001-08-27jartool.c (jarfile): Remove length limitation.Tom Tromey2-4/+17
* jartool.c (jarfile): Remove length limitation. (main): Use jt_strdup when initializing jarfile. From-SVN: r45217
2001-07-04Modified from patch by Julian Hall <jules@acris.co.uk>:Tom Tromey2-7/+27
* jartool.c (errno): Conditionally declare. (O_BINARY): Conditionally define. (main): Use open, not creat. Use O_BINARY everywhere. (make_manifest): Use O_BINARY. (add_to_jar): Likewise. From-SVN: r43766
2001-06-28re PR java/3441 (fastjar zlib)Tom Tromey3-86/+168
* configure: Rebuilt. * configure.in: Accept --with-system-zlib. Fixes PR java/3441. From-SVN: r43644
2001-05-17* Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".Per Bothner3-15/+19
From-SVN: r42205
2001-05-03jartool.c (jt_strdup): New function.John David Anglin2-3/+25
* jartool.c (jt_strdup): New function. (get_next_arg): Use jt_strdup instead of strdup. From-SVN: r41815
2001-01-22Makefile.in: Rebuilt.Tom Tromey3-12/+19
* Makefile.in: Rebuilt. * Makefile.am (bin_PROGRAMS): Remove grepjar. (EXTRA_PROGRAMS): New macro. From-SVN: r39184
2001-01-10output.h (make_function_rtl): Remove prototype.Mark Mitchell1-1/+1
* output.h (make_function_rtl): Remove prototype. (make_decl_rtl): Likewise. * varasm.c (make_function_rtl): Remove. (make_decl_rtl): Determine top-levelness from DECL_CONTEXT, rather than from a third parameter. * tree.h (make_decl_rtl): Remove last parameter. * c-decl.c (builtin_function): Remove last argument in call to make_decl_rtl; use make_function_rtl instead of make_decl_rtl. (start_function): Likewise. * except.c (call_get_eh_context): Likewise. * expr.c (emit_block_move): Likewise. (clear_storage): Likewise. * profile.c (output_func_start_profiler): Likewise. * toplev.c (rest_of_decl_compilation): Likewise. * objc/objc-act.c (create_builtin_decl): Likewise. (synth_module_prologue): Likewise. (generate_static_reference): Likewise. (build_selector_reference_decl): Likewise. (build_class_reference_decl): Likewise. (build_objc_string_decl): Likewise. (build_protocol_reference): Likewise. * class.c (finish_struct_1): Remove last argument in call to make_decl_rtl; use make_function_rtl instead of make_decl_rtl. * decl.c (builtin_function): Likewise. (build_cp_library_fn): Likewise. (check_initializer): Likewise. (make_rtl_for_nonlocal_decl): Likewise. (cp_finish_decl): Likewise. (start_function): Likewise. * decl2.c (finish_anon_union): Likewise. * friend.c (do_friend): Likewise. * init.c (build_java_class_ref): Likewise. * method.c (make_thunk): Likewise. * pt.c (tsubst_friend_function): Likewise. * semantics.c (expand_body): Likewise. * com.c (ffecom_init_zero_): Remove last argument in call to make_decl_rtl; use make_function_rtl instead of make_decl_rtl. (ffecom_lookup_label_): Likewise. (builtin_function): Likewise. (start_function): Likewise. * class.c (build_utf8_ref): Remove last argument in call to make_decl_rtl; use make_function_rtl instead of make_decl_rtl. (build_class_ref): Likewise. (build_static_field_ref): Likewise. (get_dispatch_table): Likewise. (layout_class_method): Likewise. (emit_register_classes): Likewise. * constants.c (build_constant_data_ref): Likewise. * decl.c (builtin_function): Likewise. (create_primitive_vtable): Likewise. * expr.c (build_known_method_def): Likewise. (build_jni_stub): Likewise. (java_lang_expand_expr): Likewise. From-SVN: r38884
2000-12-28jartool.c (MAXPATHLEN): Provide if not defined.Robert Lipe2-2/+37
2000-12-28 Robert Lipe <robertl@sco.com> * jartool.c (MAXPATHLEN): Provide if not defined. From-SVN: r38515
2000-12-15jargrep.c: Include getopt.h if it exists.Tom Tromey6-90/+177
* jargrep.c: Include getopt.h if it exists. (optind): Declare. * configure, config.h: Rebuilt. * configure.in: Check for getopt.h. Co-Authored-By: Kelley Cook <kelleycook@home.com> From-SVN: r38294
2000-12-14configure.in (fastjar_warn_cflags): Set when using gcc.Kaveh R. Ghazi5-57/+79
* configure.in (fastjar_warn_cflags): Set when using gcc. * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@. From-SVN: r38255
2000-12-14Warning fixes:Kaveh R. Ghazi7-85/+181
* compress.c: Include stdlib.h and compress.h. (rcsid): Delete. (report_str_error): Make static. (ez_inflate_str): Delete unused variable. Add parens in if-stmt. (hrd_inflate_str): Likewise. * compress.h (init_compression, end_compression, init_inflation, end_inflation): Prototype void arguments. * dostime.c (rcsid): Delete. * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h. Make functions static. Cast ctype function argument to `unsigned char'. Add parens in if-stmts. Constify. (Usage): Change into a macro. (jargrep): Remove unused parameter. * jartool.c: Constify. Add parens in if-stmts. Align signed/unsigned char pointers in functions calls using casts. (rcsid): Delete. (list_jar): Fix printf format specifier. (usage): Chop long string into bits. Reformat. * pushback.c (rcsid): Delete. From-SVN: r38254
2000-12-13* jartool.c (extract_jar): Use strchr, not index.Tom Tromey2-5/+14
From-SVN: r38225
2000-12-11install-defs.sh: Removed.Alexandre Petit-Bianco2-7/+4
2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com> * install-defs.sh: Removed. From-SVN: r38193
2000-12-10[multiple changes]Alexandre Petit-Bianco4-97/+29
2000-12-10 Robert Lipe <robertlipe@usa.net> * jargrep.c (jargrep): Added null statement after case. 2000-12-10 Alexandre Petit-Bianco <apbianco@cygnus.com> * Makefile: Removed. * Makefile.in: Rebuilt with `-i' and `--enable-foreign'. (http://gcc.gnu.org/ml/gcc/2000-12/msg00294.html) From-SVN: r38182
2000-12-08fastjar: Imported.Alexandre Petit-Bianco31-0/+7357
2000-12-08 Alexandre Petit-Bianco <apbianco@cygnus.com> * fastjar: Imported. From-SVN: r38145