aboutsummaryrefslogtreecommitdiff
path: root/fastjar
AgeCommit message (Collapse)AuthorFilesLines
2004-08-11re PR bootstrap/16164 (automake 1.8.5 upgrade changed fastjar into a ↵Kelley Cook3-20/+18
read-write source directory) 2004-08-11 Kelley Cook <kcook@gcc.gnu.org> PR bootstrap/16164 * Makefile.am: Force fastjar.info to be built in build directory. * Makefile.in: Regenerate. From-SVN: r85782
2004-07-23Makefile.am: Rename jar binary to fastjar.Thomas Fitzsimmons4-68/+74
2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com> * Makefile.am: Rename jar binary to fastjar. * Makefile.in: Regenerate. * fastjar.texi: Rename references to jar binary with fastjar. 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com> * Make-lang.in: Replace rmic and rmiregistry references with grmic and grmiregistry. * gcj.texi: Likewise. 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com> * Makefile.am: Replace jar, rmic and rmiregistry references with gjar, grmic and grmiregistry. * configure.in: Likewise. * Makefile.in: Regenerate. * configure: Likewise. * gcj/Makefile.in: Likewise. * include/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. From-SVN: r85101
2004-07-19jartool.c (main): Ensure that only one of ftruncate and _chsize is used.Bryce McKinlay2-2/+6
2004-07-19 Bryce McKinlay <mckinlay@redhat.com> * jartool.c (main): Ensure that only one of ftruncate and _chsize is used. From-SVN: r84931
2004-07-19re PR java/16472 (jartool.c uses ftruncate, nonexistant on mingw32)Bryce McKinlay5-0/+127
2004-07-11 Bryce McKinlay <mckinlay@redhat.com> PR java/16472 * configure.ac: Check for ftruncate() and _chsize(). * jartool.c (main): Use _chsize if ftruncate not available. * configure, config.h.in: Rebuilt. From-SVN: r84929
2004-07-09Adjust date of Casey's change.Richard Sandiford1-1/+1
From-SVN: r84346
2004-07-09* jartool.c (find_entry, looks_like_dir): Remove inline spec.Richard Sandiford2-4/+8
From-SVN: r84345
2004-07-07Makefile.am (jar_CPPFLAGS): Add AM_CPPFLAGS.Matthias Klose3-2/+7
2004-07-07 Matthias Klose <doko@debian.org> * Makefile.am (jar_CPPFLAGS): Add AM_CPPFLAGS. * Makefile.in: Regenerate. From-SVN: r84196
2004-07-06[multiple changes]Matthias Klose11-94/+731
2004-07-06 Matthias Klose <doko@debian.org> * Makefile.in: Regenerate. * fastjar.texi: Update for '-u'. 2004-05-19 Casey Marshall <csm@gnu.org> PR 7854 * Makefile.am (jar_SOURCES): added shift.c, shift.h. (jar_CPPFLAGS): define WITH_SHIFT_DOWN. * compress.c Added FSF copyright. (write_data): new function. (compress_file): call write_data. * jartool.c Updated copyright year. (progname): new variable. (end_of_entries): new variable. (main): open and read file when updating. (find_entry): new function. (looks_like_dir): new function. (read_entries): new function. (make_manifest): added parameter `updating'. Call `add_file_to_jar' with `updating'. (add_to_jar_with_dir): added parameter `updating'. Call `add_to_jar' with `updating'. (add_to_jar): added parameter `updating'. Call `add_file_to_jar' with `updating'. Don't add directories if they already exist. (add_file_to_jar): added parameter `updating'. Update entries if they already exist. * jartool.h Added #ifndef __FASTJAR_JARTOOL_H__. (struct zipentry): added `flags'. * shift.c: new file. * shift.h: new file. * zipfile.h (CEN_FLAGS): new constant. From-SVN: r84171
2004-07-05Makefile.am: Silence two automake warnings.Kelley Cook3-5/+11
2004-07-05 Kelley Cook <kcook@gcc.gnu.org> * Makefile.am: Silence two automake warnings. * Makefile.in: Regenerate. From-SVN: r84124
2004-06-25re PR other/15194 (Fastjar configure needlessly fails without long long)Kelley Cook5-35/+135
2004-06-25 Kelley Cook <kcook@gcc.gnu.org> PR other/15194 * configure.ac: Add check for long long. * jartool.h: Check for long long before using it. * configure: Regenerate * config.h.in: Regenerate. From-SVN: r83690
2004-06-15acinclude.m4: Quote first argument of AC_DEFUNs.Paolo Bonzini6-679/+820
2004-06-15 Paolo Bonzini <bonzini@gnu.org> * acinclude.m4: Quote first argument of AC_DEFUNs. * aclocal.m4: Regenerate with automake 1.8. * Makefile.in: Likewise. * configure: Regenerate. * .cvsignore: New file. From-SVN: r83168
2004-04-12re PR bootstrap/14905 ('make install' fails on grepjar.1, not included in ↵Kelley Cook5-15/+137
tarball) 2004-04-12 Kelley Cook <kcook@gcc.gnu.org> PR bootstrap/14905 * configure.ac: Parse --enable-generated-files-in-srcdir. * Makefile.am: Copy man and info files to srcdir if requested. * configure: Regenerate. * Makefile.in Regenerate. From-SVN: r80628
2004-03-11configure.ac: Bump AC_PREREQ to 2.59.Kelley Cook3-50/+64
boehm-gc/ 2004-03-10 Kelley Cook <kcook@gcc.gnu.org> * configure.ac: Bump AC_PREREQ to 2.59. * configure: Regenerate. * config.in: Regenerate. fastjar/ 2004-03-10 Kelley Cook <kcook@gcc.gnu.org> * configure.ac: Bump AC_PREREQ to 2.59. * configure: Regenerate. intl/ 2004-03-10 Kelley Cook <kcook@gcc.gnu.org> * configure.ac: Bump AC_PREREQ to 2.59. * configure: Regenerate. * config.h.in: Regenerate. gcc/ 2004-03-10 Kelley Cook <kcook@gcc.gnu.org> * configure.ac: Bump AC_PREREQ to 2.59. * configure: Regenerate. libada/ 2004-03-10 Kelley Cook <kcook@gcc.gnu.org> * configure.in: Rename file to ... * configure.ac: .. to this. Bump AC_PREREQ to 2.59. * configure: Regenerate. libjava/libltdl/ 2004-03-10 Kelley Cook <kcook@gcc.gnu.org> * configure.ac: Bump AC_PREREQ to 2.59. * configure: Regenerate. * config-h.in: Regenerate. libstdc++-v3/ 2004-03-10 Kelley Cook <kcook@gcc.gnu.org> * configure.ac: Bump AC_PREREQ to 2.59. contrib/ 2004-03-10 Kelley Cook <kcook@gcc.gnu.org> * gcc_update (files_and_dependencies): Insert libada/configure. From-SVN: r79285
2004-03-09* configure: Regenerate for config/accross.m4 correction.Hans-Peter Nilsson2-353/+720
From-SVN: r79147
2004-01-10configure.in: Rename file to ...Kelley Cook5-16/+28
2004-01-09 Kelley Cook <kcook@gcc.gnu.org> * configure.in: Rename file to ... * configure.ac: ... this. Add in AC_PREREQ(2.57) * config.h.in: Regenerate. * aclocal.m4: Regenerate. * Makefile.in: Regenerate. From-SVN: r75621
2004-01-07jartool.c (make_manifest): Fix off-by-one bug when creating an empty ↵Andreas Tobler2-2/+13
MANIFEST.MF. 2004-01-07 Andreas Tobler <a.tobler@schweiz.ch> * jartool.c (make_manifest): Fix off-by-one bug when creating an empty MANIFEST.MF. From-SVN: r75511
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