summaryrefslogtreecommitdiff
path: root/fastjar
Commit message (Collapse)AuthorAgeFilesLines
* 2003-03-10 Mohan Embar <gnustuff@thisiscool.com>aph2003-03-102-0/+6
| | | | | | | * dostime.c: add #include <stddef.h> for definition of NULL git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64112 138bc75d-0d04-0410-961f-82ee72b054a4
* fastjar:jsm282003-02-042-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fastjar.texi: Update to GFDL 1.2. gcc: * doc/gcc.texi, doc/gccint.texi, doc/gcov.texi, doc/include/fdl.texi, doc/invoke.texi: Update to GFDL 1.2. * doc/install.texi: Update copyright dates. Update to GFDL 1.2. gcc/ada: * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2. * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, gnat_ug_wnt.texi: Regenerate. gcc/f: * g77.texi, invoke.texi: Update to GFDL 1.2. gcc/java: * gcj.texi: Update to GFDL 1.2. gcc/treelang: * treelang.texi: Update to GFDL 1.2. libiberty: * libiberty.texi: Update to GFDL 1.2. libstdc++-v3: * docs/html/17_intro/porting.texi: Update to GFDL 1.2. * docs/html/17_intro/porting.html: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62365 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-31 Daiki Ueno <ueno@unixuser.org>tromey2003-01-312-7/+14
| | | | | | | | * jartool.c (extract_jar): Don't lseek to skip extra fields. (consume): If the stream is seekable, do lseek. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62208 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>tromey2003-01-282-2/+9
| | | | | | | | * jargrep.c: Include xregex.h from libiberty instead of system regex.h for better portability. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62035 138bc75d-0d04-0410-961f-82ee72b054a4
* Cleaned up ChangeLog snafutromey2003-01-251-34/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61756 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-21 Ranjit Mathew <rmathew@hotmail.com>tromey2003-01-212-1/+43
| | | | | | | | | * jartool.c (list_jar): Terminate the 'ascii_date' buffer with a '\0' to guard against the case where the formatted time string is more than the size allowed by the buffer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61571 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.h.in: Rebuilt.tromey2003-01-142-4/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61302 138bc75d-0d04-0410-961f-82ee72b054a4
* Minor typosdj2002-12-311-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60672 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am (jar.1, grepjar.1): Protect againstdj2002-12-303-8/+14
| | | | | | | | texi2pod/pod2man failing. * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60653 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/java:jsm282002-12-232-0/+7
| | | | | | | | | | * gcj.texi: Include Cover Texts in man page. fastjar: * fastjar.texi: Include Cover Texts in man page. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60451 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge basic-improvements-branch to trunkzack2002-12-167-415/+256
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60174 138bc75d-0d04-0410-961f-82ee72b054a4
* * fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).jakub2002-12-042-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59819 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-21 Ranjit Mathew <rmathew@hotmail.com>tromey2002-11-222-1/+7
| | | | | | | | * jartool.c (extract_jar): Use "open" with O_BINARY instead of "creat" to create extracted files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59366 138bc75d-0d04-0410-961f-82ee72b054a4
* * dostime.c (dos2unixtime): Mask for seconds is 0x1f. Correctlytromey2002-11-112-5/+15
| | | | | | | | | compute month. (unix2dostime): Handle years before 1980. Correctly compute month and day of month. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59027 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo.jakub2002-11-101-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58995 138bc75d-0d04-0410-961f-82ee72b054a4
* * jartool.c (add_to_jar): Only compare file to jarfile if jarfile isjakub2002-11-105-4/+16
| | | | | | | | | | non-NULL. * configure.in (AC_CHECK_HEADERS): Add limits.h. * configure, config.h.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58990 138bc75d-0d04-0410-961f-82ee72b054a4
* removed bogus ChangeLog entrytromey2002-11-071-4/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58894 138bc75d-0d04-0410-961f-82ee72b054a4
* * dostime.c: Rewrote from scratch.tromey2002-11-073-102/+57
| | | | | | | * dostime.h (dostime): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58892 138bc75d-0d04-0410-961f-82ee72b054a4
* * jartool.c: Use mode 0666 when opening new file.tromey2002-10-202-2/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58341 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-10-15 Ranjit Mathew <rmathew@hotmail.com>tromey2002-10-154-90/+158
| | | | | | | | * configure, config.h.in: Rebuilt. * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58175 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2002-09-124-27/+288
| | | | | | | | | | | | | | | | * 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'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57043 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-11 Matthias Klose <doko@debian.org>doko2002-09-113-209/+26
| | | | | | | | * Makefile.am: Revert the previous patch. * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57022 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-10 Matthias Klose <doko@debian.org>doko2002-09-107-166/+639
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57013 138bc75d-0d04-0410-961f-82ee72b054a4
* * jartool.c (mkdir): Define.tromey2002-09-097-229/+412
| | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56983 138bc75d-0d04-0410-961f-82ee72b054a4
* From greenrd@hotmail.com:tromey2002-09-042-2/+8
| | | | | | | | * jartool.c (list_jar): Correctly determine when new `filename' buffer must be allocated. Fixes PR java/7830. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56818 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Support cross-compiling.geoffk2002-06-034-260/+351
| | | | | | | | | | * configure: Regenerate. * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New. (gcc_AC_EXAMINE_OBJECT): New. (fastjar_AC_COMPILE_C_BIGENDIAN): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54216 138bc75d-0d04-0410-961f-82ee72b054a4
* * jartool.c (expand_options): Handle tar-style argument list with abryce2002-03-182-3/+19
| | | | | | | leading "-". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50957 138bc75d-0d04-0410-961f-82ee72b054a4
* jar -C fixgreen2002-02-242-4/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50009 138bc75d-0d04-0410-961f-82ee72b054a4
* * jartool.c (main): NULL-terminate new_argv. Pass 0 as argumenttromey2002-01-312-1/+7
| | | | | | | to init_args. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49351 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2002-01-133-55/+25
| | | | | | | * Makefile.am (AUTOMAKE_OPTIONS): New macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48818 138bc75d-0d04-0410-961f-82ee72b054a4
* For PR libgcj/5303:tromey2002-01-0910-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48697 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>rodrigc2002-01-031-0/+2
| | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48495 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>rodrigc2002-01-0310-179/+218
| | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48493 138bc75d-0d04-0410-961f-82ee72b054a4
* For PR java/4295:tromey2001-10-174-63/+168
| | | | | | | | * aclocal.m4, configure, Makefile.in: Rebuilt. * configure.in: Added AC_EXEEXT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46316 138bc75d-0d04-0410-961f-82ee72b054a4
* * jatool.c (extract_jar): Account for null termination whenbryce2001-10-122-2/+15
| | | | | | | determining whether to expand "filename". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46220 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>apbianco2001-08-292-1/+11
| | | | | | | | | | * 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) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45250 138bc75d-0d04-0410-961f-82ee72b054a4
* * jartool.c (jarfile): Remove length limitation.tromey2001-08-272-4/+17
| | | | | | | (main): Use jt_strdup when initializing jarfile. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45217 138bc75d-0d04-0410-961f-82ee72b054a4
* Modified from patch by Julian Hall <jules@acris.co.uk>:tromey2001-07-042-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43766 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Rebuilt.tromey2001-06-283-86/+168
| | | | | | | * configure.in: Accept --with-system-zlib. Fixes PR java/3441. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43644 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am (bin_PROGRAMS): Renamed from "fastjar" to "jar".bothner2001-05-173-15/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42205 138bc75d-0d04-0410-961f-82ee72b054a4
* * jartool.c (jt_strdup): New function.danglin2001-05-032-3/+25
| | | | | | | (get_next_arg): Use jt_strdup instead of strdup. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41815 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2001-01-223-12/+19
| | | | | | | | * Makefile.am (bin_PROGRAMS): Remove grepjar. (EXTRA_PROGRAMS): New macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39184 138bc75d-0d04-0410-961f-82ee72b054a4
* * output.h (make_function_rtl): Remove prototype.mmitchel2001-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38884 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-28 Robert Lipe <robertl@sco.com>robertl2000-12-282-2/+37
| | | | | | | * jartool.c (MAXPATHLEN): Provide if not defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38515 138bc75d-0d04-0410-961f-82ee72b054a4
* * jargrep.c: Include getopt.h if it exists.tromey2000-12-156-90/+177
| | | | | | | | | (optind): Declare. * configure, config.h: Rebuilt. * configure.in: Check for getopt.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38294 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (fastjar_warn_cflags): Set when using gcc.ghazi2000-12-145-57/+79
| | | | | | | * Makefile.am (AM_CFLAGS): Set to @fastjar_warn_cflags@. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38255 138bc75d-0d04-0410-961f-82ee72b054a4
* Warning fixes:ghazi2000-12-147-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38254 138bc75d-0d04-0410-961f-82ee72b054a4
* * jartool.c (extract_jar): Use strchr, not index.tromey2000-12-132-5/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38225 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>apbianco2000-12-112-7/+4
| | | | | | | * install-defs.sh: Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38193 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-10 Robert Lipe <robertlipe@usa.net>apbianco2000-12-114-97/+29
| | | | | | | | | | | | | | * 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) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38182 138bc75d-0d04-0410-961f-82ee72b054a4