aboutsummaryrefslogtreecommitdiff
path: root/fastjar
AgeCommit message (Collapse)AuthorFilesLines
2003-12-01Makefile.am: Define AM_MAKINFOFLAGS.Kelley Cook10-2350/+6372
fastjar/ 2003-12-01 Kelley Cook <kcook@gcc.gnu.org> * Makefile.am: Define AM_MAKINFOFLAGS. Remove Automake 1.4 hack. * Makefile.in: Regenerate with automake 1.7.6 & autoconf 2.57 tools. * aclocal.m4, config.h.in, configure: Likewise. * install-sh, missing, mkinstalldirs, stamp-h.in: Remove. gcc/ 2003-12-01 Kelley Cook <kcook@gcc.gnu.org> * doc/install.texi: Note that fastjar is built with automake 1.7.x and autoconf 2.57. From-SVN: r74082
2003-11-21Remove some .cvsignore files due to doc files now being built in build directoryKelley Cook2-3/+4
From-SVN: r73824
2003-11-03Makefile.am (my_make_i_flags): Add $(srcdir) and update comment to match.Kelley Cook3-39/+45
2003-10-30 Kelley Cook <kcook@gcc.gnu.org> * Makefile.am (my_make_i_flags): Add $(srcdir) and update comment to match. (fastjar.info): Update target to write to build directory. (%.1): New implicit rule from a .pod file. (jar.1): Delete. (grepjar.1): Delete. (jar.pod): New intermediate rule. (grepjar.pod): Likewise. * Makefile.in: Regenerate. From-SVN: r73216
2003-08-13fastjar.texi: License manual under the GPL.Matthias Klose4-91/+26
2003-08-13 Matthias Klose <doko@debian.org> * fastjar.texi: License manual under the GPL. * Makefile.am: Remove reference to fdl.texi * Makefile.in: Regenerate From-SVN: r70414
2003-07-30* mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.Nathanael Nerode2-20/+95
From-SVN: r69950
2003-07-11* README: Note that FastJar is not part of GCC.Gerald Pfeifer2-0/+7
From-SVN: r69245
2003-07-02re PR fastjar/9532 (jar -C flag is incompatible with Sun's (fastjar uses ↵Nathanael Nerode2-30/+38
nonportable feature of getcwd)) PR java/9532 * jartool.c (add_to_jar): Return 1 on failure to open file. Split out -C case to: * jartool.c (add_to_jar_with_dir): New function. From-SVN: r68847
2003-06-15re PR fastjar/9532 (jar -C flag is incompatible with Sun's (fastjar uses ↵Nathanael Nerode2-14/+31
nonportable feature of getcwd)) PR java/9532 * jartool.c (main) Give proper error messages with -C, and check for missing arguments properly. Send error messages to stderr. * jartool.c (add_to_jar): Make getcwd() call portable, and check for error return. From-SVN: r67985
2003-03-30fastjar.texi: Remove @ at start of file.Joseph Myers2-1/+5
fastjar: * fastjar.texi: Remove @ at start of file. gcc/java: * gcj.texi: Remove @ at start of file. From-SVN: r65045
2003-03-10dostime.c: add #include <stddef.h> for definition of NULLMohan Embar2-0/+6
2003-03-10 Mohan Embar <gnustuff@thisiscool.com> * dostime.c: add #include <stddef.h> for definition of NULL From-SVN: r64112
2003-02-04fastjar.texi: Update to GFDL 1.2.Joseph Myers2-2/+6
fastjar: * 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. From-SVN: r62365
2003-01-31jartool.c (extract_jar): Don't lseek to skip extra fields.Daiki Ueno2-7/+14
2003-01-31 Daiki Ueno <ueno@unixuser.org> * jartool.c (extract_jar): Don't lseek to skip extra fields. (consume): If the stream is seekable, do lseek. From-SVN: r62208
2003-01-28jargrep.c: Include xregex.h from libiberty instead of system regex.h for ↵Ranjit Mathew2-2/+9
better portability. 2003-01-28 Ranjit Mathew <rmathew@hotmail.com> * jargrep.c: Include xregex.h from libiberty instead of system regex.h for better portability. From-SVN: r62035
2003-01-25Cleaned up ChangeLog snafuTom Tromey1-34/+0
From-SVN: r61756
2003-01-21jartool.c (list_jar): Terminate the 'ascii_date' buffer with a '\0' to guard ↵Ranjit Mathew2-1/+43
against the case where... 2003-01-21 Ranjit Mathew <rmathew@hotmail.com> * 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. From-SVN: r61571
2003-01-14* config.h.in: Rebuilt.Tom Tromey2-4/+14
From-SVN: r61302
2002-12-30Minor typosDJ Delorie1-1/+1
From-SVN: r60672
2002-12-30Makefile.am (jar.1, grepjar.1): Protect against texi2pod/pod2man failing.DJ Delorie3-8/+14
* Makefile.am (jar.1, grepjar.1): Protect against texi2pod/pod2man failing. * Makefile.in: Regenerated. From-SVN: r60653
2002-12-23gcj.texi: Include Cover Texts in man page.Joseph Myers2-0/+7
gcc/java: * gcj.texi: Include Cover Texts in man page. fastjar: * fastjar.texi: Include Cover Texts in man page. From-SVN: r60451
2002-12-16Merge basic-improvements-branch to trunkZack Weinberg7-415/+256
From-SVN: r60174
2002-12-04* fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).Jakub Jelinek2-2/+6
From-SVN: r59819
2002-11-22jartool.c (extract_jar): Use "open" with O_BINARY instead of "creat" to ↵Ranjit Mathew2-1/+7
create extracted files. 2002-11-21 Ranjit Mathew <rmathew@hotmail.com> * jartool.c (extract_jar): Use "open" with O_BINARY instead of "creat" to create extracted files. From-SVN: r59366
2002-11-11dostime.c (dos2unixtime): Mask for seconds is 0x1f.Tom Tromey2-5/+15
* dostime.c (dos2unixtime): Mask for seconds is 0x1f. Correctly compute month. (unix2dostime): Handle years before 1980. Correctly compute month and day of month. From-SVN: r59027
2002-11-10Fix typo.Jakub Jelinek1-1/+1
From-SVN: r58995
2002-11-10jartool.c (add_to_jar): Only compare file to jarfile if jarfile is non-NULL.Jakub Jelinek5-4/+16
* jartool.c (add_to_jar): Only compare file to jarfile if jarfile is non-NULL. * configure.in (AC_CHECK_HEADERS): Add limits.h. * configure, config.h.in: Rebuilt. From-SVN: r58990
2002-11-07removed bogus ChangeLog entryTom Tromey1-4/+0
From-SVN: r58894
2002-11-07dostime.c: Rewrote from scratch.Tom Tromey3-102/+57
* dostime.c: Rewrote from scratch. * dostime.h (dostime): Removed. From-SVN: r58892
2002-10-20* jartool.c: Use mode 0666 when opening new file.Tom Tromey2-2/+5
From-SVN: r58341
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