Commit Graph

75 Commits

Author SHA1 Message Date
Thomas Fitzsimmons
ef05818b76 Makefile.am: Rename jar binary to fastjar.
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-23 23:34:17 +00:00
Bryce McKinlay
932c738d20 jartool.c (main): Ensure that only one of ftruncate and _chsize is used.
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-19 21:41:03 +01:00
Bryce McKinlay
fab6228541 re PR java/16472 (jartool.c uses ftruncate, nonexistant on mingw32)
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-19 21:08:20 +01:00
Richard Sandiford
f4cbb208fb Adjust date of Casey's change.
From-SVN: r84346
2004-07-09 07:29:02 +00:00
Richard Sandiford
90428457aa * jartool.c (find_entry, looks_like_dir): Remove inline spec.
From-SVN: r84345
2004-07-09 06:28:17 +00:00
Matthias Klose
874a4e75a7 Makefile.am (jar_CPPFLAGS): Add AM_CPPFLAGS.
2004-07-07  Matthias Klose  <doko@debian.org>

        * Makefile.am (jar_CPPFLAGS): Add AM_CPPFLAGS.
        * Makefile.in: Regenerate.

From-SVN: r84196
2004-07-07 08:43:10 +00:00
Matthias Klose
97b62d4781 [multiple changes]
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-06 21:40:08 +00:00
Kelley Cook
bd4e926677 Makefile.am: Silence two automake warnings.
2004-07-05  Kelley Cook  <kcook@gcc.gnu.org>

	* Makefile.am: Silence two automake warnings.
	* Makefile.in: Regenerate.

From-SVN: r84124
2004-07-05 17:40:38 +00:00
Kelley Cook
794532221c re PR other/15194 (Fastjar configure needlessly fails without long long)
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-25 23:06:47 +00:00
Paolo Bonzini
608cb764bb acinclude.m4: Quote first argument of AC_DEFUNs.
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-06-15 07:36:33 +00:00
Kelley Cook
040e098a5d re PR bootstrap/14905 ('make install' fails on grepjar.1, not included in 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-04-12 20:29:49 +00:00
Kelley Cook
8ab705be38 configure.ac: Bump AC_PREREQ to 2.59.
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-11 00:27:41 +00:00
Hans-Peter Nilsson
3beb131556 * configure: Regenerate for config/accross.m4 correction.
From-SVN: r79147
2004-03-09 01:22:49 +00:00
Kelley Cook
ce7dcf78d8 configure.in: Rename file to ...
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-10 02:09:08 +00:00
Andreas Tobler
6838645e85 jartool.c (make_manifest): Fix off-by-one bug when creating an empty 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
2004-01-07 19:46:04 +01:00
Kelley Cook
53d60c042d Makefile.am: Define AM_MAKINFOFLAGS.
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-12-01 02:58:36 +00:00
Kelley Cook
6f2aeb725e Remove some .cvsignore files due to doc files now being built in build directory
From-SVN: r73824
2003-11-21 23:28:31 +00:00
Kelley Cook
c7afc98559 Makefile.am (my_make_i_flags): Add $(srcdir) and update comment to match.
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-11-03 13:21:00 +00:00
Matthias Klose
872119b16c fastjar.texi: License manual under the GPL.
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-08-13 21:04:12 +00:00
Nathanael Nerode
e55e4f6805 * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version.
From-SVN: r69950
2003-07-30 01:37:07 +00:00
Gerald Pfeifer
971b79c5cf * README: Note that FastJar is not part of GCC.
From-SVN: r69245
2003-07-11 21:48:39 +00:00
Nathanael Nerode
5208b50b05 re PR fastjar/9532 (jar -C flag is incompatible with Sun's (fastjar uses 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-07-02 17:20:54 +00:00
Nathanael Nerode
a55a78d134 re PR fastjar/9532 (jar -C flag is incompatible with Sun's (fastjar uses 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-06-15 20:25:44 +00:00
Joseph Myers
438f63a80d fastjar.texi: Remove @ at start of file.
fastjar:
	* fastjar.texi: Remove @ at start of file.

gcc/java:
	* gcj.texi: Remove @ at start of file.

From-SVN: r65045
2003-03-30 17:56:33 +01:00
Mohan Embar
a489d8b084 dostime.c: add #include <stddef.h> for definition of NULL
2003-03-10  Mohan Embar  <gnustuff@thisiscool.com>

        * dostime.c: add #include <stddef.h> for definition of NULL

From-SVN: r64112
2003-03-10 19:52:15 +00:00
Joseph Myers
b3a8389d18 fastjar.texi: Update to GFDL 1.2.
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-02-04 01:27:53 +00:00
Daiki Ueno
0120f3d478 jartool.c (extract_jar): Don't lseek to skip extra fields.
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-31 22:48:27 +00:00
Ranjit Mathew
5bff4babe0 jargrep.c: Include xregex.h from libiberty instead of system regex.h for 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-28 22:25:47 +00:00
Tom Tromey
b493875095 Cleaned up ChangeLog snafu
From-SVN: r61756
2003-01-25 02:53:04 +00:00
Ranjit Mathew
b39864a90a jartool.c (list_jar): Terminate the 'ascii_date' buffer with a '\0' to guard 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-21 20:53:31 +00:00
Tom Tromey
b41621ee14 * config.h.in: Rebuilt.
From-SVN: r61302
2003-01-14 21:16:20 +00:00
DJ Delorie
e2f45c3051 Minor typos
From-SVN: r60672
2002-12-30 21:04:41 -05:00
DJ Delorie
121cb775c1 Makefile.am (jar.1, grepjar.1): Protect against texi2pod/pod2man failing.
* Makefile.am (jar.1, grepjar.1): Protect against
texi2pod/pod2man failing.
* Makefile.in: Regenerated.

From-SVN: r60653
2002-12-30 16:32:30 -05:00
Joseph Myers
df82908a6f gcj.texi: Include Cover Texts in man page.
gcc/java:
	* gcj.texi: Include Cover Texts in man page.

fastjar:
	* fastjar.texi: Include Cover Texts in man page.

From-SVN: r60451
2002-12-23 21:16:23 +00:00
Zack Weinberg
4977bab6ed Merge basic-improvements-branch to trunk
From-SVN: r60174
2002-12-16 18:23:00 +00:00
Jakub Jelinek
3a45705a51 * fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
From-SVN: r59819
2002-12-04 16:50:26 +01:00
Ranjit Mathew
7fe75c0324 jartool.c (extract_jar): Use "open" with O_BINARY instead of "creat" to 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-22 03:20:24 +00:00
Tom Tromey
90e76e864a dostime.c (dos2unixtime): Mask for seconds is 0x1f.
* 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-11 22:20:56 +00:00
Jakub Jelinek
99c49d11c1 Fix typo.
From-SVN: r58995
2002-11-10 22:26:20 +01:00
Jakub Jelinek
9d8f417b41 jartool.c (add_to_jar): Only compare file to jarfile if jarfile is non-NULL.
* 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-10 22:04:24 +01:00
Tom Tromey
76d17d6207 removed bogus ChangeLog entry
From-SVN: r58894
2002-11-07 14:10:01 +00:00
Tom Tromey
eeff4ca3ce dostime.c: Rewrote from scratch.
* dostime.c: Rewrote from scratch.
	* dostime.h (dostime): Removed.

From-SVN: r58892
2002-11-07 14:07:19 +00:00
Tom Tromey
248cfd1c86 * jartool.c: Use mode 0666 when opening new file.
From-SVN: r58341
2002-10-20 23:30:24 +00:00
Ranjit Mathew
b4258f0617 configure, [...]: Rebuilt.
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-10-15 18:41:47 +00:00
Tom Tromey
09bfbc1c11 Makefile.in: Rebuilt.
* 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-12 00:40:12 +00:00
Matthias Klose
0fc76fb5ee Makefile.am: Revert the previous patch.
2002-09-11  Matthias Klose  <doko@debian.org>

        * Makefile.am: Revert the previous patch.
        * Makefile.in: Regenerated.

From-SVN: r57022
2002-09-11 05:49:48 +00:00
Matthias Klose
42ac7b6d2f fastjar.texi: New.
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-10 22:09:53 +00:00
Tom Tromey
9251acb480 jartool.c (mkdir): Define.
* 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-09 21:19:16 +00:00
Tom Tromey
a038cc83d6 re PR java/7830 (Off-by-one buffer overruns in fastjar tool)
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-09-04 22:40:55 +00:00
Geoffrey Keating
824030c624 configure.in: Support cross-compiling.
* 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-06-03 17:59:29 +00:00