aboutsummaryrefslogtreecommitdiff
path: root/fastjar
AgeCommit message (Collapse)AuthorFilesLines
2005-03-28jartool.c (main): Indentation fixlet.Marcin Dalecki2-12/+23
2005-03-28 Marcin Dalecki <martin@dalecki.de> * jartool.c (main): Indentation fixlet. (add_entry): Likewise. (init_args): Don't use K&R style. (jt_strdup): Likewise. (get_next_arg): Add explicit '(void)'. (init_headers): Likewise. (version): Likewise. From-SVN: r97135
2005-03-16gcc-version.m4: Delete.Zack Weinberg6-68/+80
config: * gcc-version.m4: Delete. fastjar: * Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi. (BASEVER, DEVPHASE): New variables. (POD2MAN): Adjust setting of --release option. (fastjar.1, grepjar.1, gcc-vers.texi): New rules. * Makefile.in: Regenerate. * configure.ac: Do not invoke TL_AC_GCC_VERSION. * aclocal.m4, configure: Regenerate. gcc: * BASE-VER, DATESTAMP, DEV-PHASE: New files. * Makefile.in (gcc_version, gcc_version_trigger, ): Delete. (BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c) (BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables. (version): Define using $(BASEVER_c). (Makefile, config.status, build/gcov-iov.o): No longer depends on version.c. (version.o): Depend on version files; add custom generation command. (prefix.o): Define BASEVER on command line. (s-iov): Depend on version files; adjust command. (TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES): Add gcc-vers.texi. (gcc-vers.texi): New rule. (doc/%.info, doc/%.dvi): Add -I . to command line. (doc/gccinstall.dvi): Likewise. (PACKAGE): Delete. All uses replaced with "gcc". * aclocal.m4: Do not include gcc-version.m4. * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION. Set is_release based on contents of DEV-PHASE. Set gcc_version based on contents of BASE-VER. Define WIN32_REGISTRY_KEY only if the user overrode the default. * config.in, configure: Regenerate. * gccbug.in: Determine version of GCC in use at runtime. * gcov-iov.c: Get version number and development phase from command line, not by including version.c. * intl.c: Replace all uses of PACKAGE with "gcc". * libada-mk.in: Delete unused "gcc_version" variable. * prefix.c: Default WIN32_REGISTRY_KEY to BASEVER. * version.c: (VERSUFFIX): New hook for redistributors; adjust commentary to match. (version_string): Put together from pieces. * config/alpha/x-vms: Do not use $(gcc_version). * config/i386/t-nwld: Likewise. * doc/include/gcc-common.texi: Include gcc-vers.texi for version-GCC and DEVELOPMENT. gcc/ada: * Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info) (doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi to dependencies. gcc/fortran: * Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi. gcc/java: * Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi. gcc/treelang: * Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi. libstdc++-v3: * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc subdirectory. Generate #define of __GLIBCXX__ from contents of that file. * include/Makefile.in: Regenerate. * include/bits/c++config: Do not define __GLIBCXX__. maintainer-scripts: * README: Update. * gcc_release: Update gcc/DEV-PHASE if that file exists, instead of gcc/version.c. * update_version: Handle updating gcc/DATESTAMP. * update_web_docs: Generate gcc-vers.texi first. From-SVN: r96549
2004-12-02Introduce and use config/gcc-version.m4.Richard Sandiford5-16/+24
From-SVN: r91625
2004-11-15Makefile.am: Remove -no-dependencies.Kelley Cook3-22/+85
2004-11-15 Kelley Cook <kcook@gcc.gnu.org> * Makefile.am: Remove -no-dependencies. * Makefile.in: Regenerate. From-SVN: r90702
2004-11-13Makefile.am: Define ACLOCAL_AMFLAGS.Kelley Cook6-88/+221
2004-11-13 Kelley Cook <kcook@gcc.gnu.org> * Makefile.am: Define ACLOCAL_AMFLAGS. * acinclude.m4: Remove unnecessary sinclude. * aclocal.m4, Makefile.in, configure: Regenerate (autoreconf 1.9.3). From-SVN: r90583
2004-09-23jartool.c (extract_jar): Unconditionally read extra data in the entry header...Tom Tromey2-3/+8
* jartool.c (extract_jar): Unconditionally read extra data in the entry header; don't read it after the file contents. From-SVN: r87990
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