Commit Graph

48 Commits

Author SHA1 Message Date
lukem 03a3aa379d use off_t instead of long to store sizes which will be displayed with "--list".
fixes wacky display problems for files > 2GB in size.  tested ok on i386 and
alpha (no change for the latter).
2001-07-07 21:57:41 +00:00
simonb 976bdd3f47 Change to new libbz2 API. 2001-06-03 13:43:01 +00:00
tsutsui 80643c8e30 Add -traditional to MATCHCPPFLAGS so that match.S compiles
on cross environment which does not have usr.bin.cpp.sh.
2001-03-04 16:12:36 +00:00
cgd c586a3a369 strncmp's last argument is of type size_t, not int. 2001-01-16 02:38:52 +00:00
scw 7da3267228 Need to check for __m68k__ with the m68k ELF toolchain... 2000-12-03 17:24:00 +00:00
simonb da198db71e Update the output counter so "gzip -dv" show meaningful results for
decompressing bzip2 files.
2000-11-17 01:32:27 +00:00
simonb 87db6e6fc9 Recognise .bz2 as a valid suffix. 2000-11-17 01:31:26 +00:00
thorpej ef9b07e056 Add register prefixes. 1999-11-10 16:54:10 +00:00
simonb d90538535d Back out previous change now that "decompress" is not exported by libbz2. 1999-08-20 02:36:28 +00:00
simonb 0678c8d4e5 In test mode, don't print the contents to stdout.
Patch from NAKAJIMA Yoshihiro in PR bin/8238.
1999-08-20 00:08:57 +00:00
mycroft 41147083cf Don't use GNU malloc() any more. 1999-07-30 04:07:23 +00:00
simonb a8733a30d9 Argh - both gzip.c and libbz have a "decompress" symbol. For now,
rename gzip.c's decompress to de_compress.  I emailed the author
of libbz back in December about this and haven't heard anything
since...

Thanks to enami tsugutomo for pointing this out.
1999-07-27 00:36:10 +00:00
simonb b376436feb Handle decompressing bzip2 files. 1999-07-25 07:06:05 +00:00
thorpej 0febb464c7 Oops, fix the NO_UNDERLINE CPP hack. 1999-02-02 02:04:40 +00:00
kim d6f02000ee Added z[ef]grep. 1999-01-31 14:33:33 +00:00
thorpej 00250899d5 Argh, typo in previous. 1999-01-22 22:24:29 +00:00
thorpej 435e3187c6 If the object format is ELF, build match.S with -DNO_UNDERLINE. 1999-01-22 22:18:28 +00:00
frueauf e57a58a43d Don't prepend /usr/local/bin to $PATH, our gzip is in /usr/bin. Closes
pr 5234 by Jim Bernard.
1998-09-12 20:54:53 +00:00
enami 692962babe add -Dunix to CPPFLAGS to suppress cpp warning. 1998-09-01 03:16:48 +00:00
tv a5e6bce521 Do not chmod files to 0777 before unlinking. NetBSD (and POSIX.1) specify
that this is unnecessary (only permission on the file's directory is
necessary), and it has security implications (see PR #5094).  There may be
other race-condition-related implications here that this change fixes, as
well.
1998-03-06 18:17:12 +00:00
cgd 8aaf609a0a allow LDSTATIC definition to be overridden by bsd.own.mk/mk.conf 1998-03-02 19:42:25 +00:00
mrg 6be07a674c add missing .Nm calls and MLINKS. from spz@serpens.swb.de 1997-11-12 00:47:32 +00:00
lukem da49bfcda7 use CPPFLAGS instead of CFLAGS 1997-10-25 10:10:19 +00:00
christos 0aad9d4378 Makefile cleanups 1997-03-24 22:02:40 +00:00
mikel a41241b92a /etc/termcap -> /usr/share/misc/termcap. Fixes misc/1401. 1996-11-12 07:50:11 +00:00
thorpej 46ac224706 Use ${INSTALL}. 1996-10-18 02:52:59 +00:00
jtc 2a60e37a76 Link zcmp to zdiff, zcmp.1 to zdiff.1 1995-10-24 22:18:34 +00:00
cgd 81584a34e6 NetBSD RCS Id format 1995-04-23 07:58:27 +00:00
cgd c4c01d75b2 specify man pages the new way. 1994-12-22 09:31:26 +00:00
jtc 8d5a180936 Install zgrep manpage too. 1994-12-14 01:50:14 +00:00
cgd 39619ceab9 fine, install as zcat, too, but _NOT_ as compress; man page is incorrect. 1994-10-17 21:37:28 +00:00
cgd 53ba44f2bd link these static, for safety. tar is going away, eventualy, anyway 1994-06-19 00:03:41 +00:00
cgd f5ef67b2d1 don't clobber uncompress, zcat, or their man pages 1994-06-13 15:18:46 +00:00
pk 22a4a0d445 match.S is for m68k and i36 archs only. 1993-12-21 20:27:39 +00:00
mycroft 676f96319e Take 2. Key off __NetBSD__ and -D it from the Makefile. 1993-12-08 21:31:57 +00:00
mycroft 226710e9dd Key off `m68k' for some instruction format issues. I recall changing this
once before...
1993-12-08 21:11:45 +00:00
jtc 79c47ced71 Both compress and gzip installed themselves as "zcat". I've changed the
makefiles so only gzip is installed as zcat (and now uncompress) because
gzip is faster than compress and it is able to detect corrupted files.
1993-10-23 01:13:35 +00:00
jtc 0a54cb8182 Change makefile so manpages are installed correctly. 1993-10-15 23:14:16 +00:00
mycroft 3458627ee9 Clean up deleted files. 1993-10-15 23:06:07 +00:00
jtc 60ac16520b Update to Nate's port of gzip 1.2.4 he did for FreeBSD.
All I had to do is restore the RCSID's for the manual pages.
1993-10-15 23:05:16 +00:00
cgd d6ff5db170 converted to use gnu malloc, and depend on it correctly 1993-10-07 07:23:44 +00:00
mycroft 6d625a2334 __mc68020__ --> mc68020 1993-08-14 18:08:09 +00:00
mycroft 6589884799 Don't include ${DESTDIR} in paths in LINKS. 1993-08-10 00:02:45 +00:00
mycroft 290f423b45 Small tweak for GAS on the 68k. 1993-08-10 00:01:55 +00:00
mycroft c8194f0876 Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:38:43 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
cgd a4e5b730b9 fix makefile man page bogosities, and add a "VERSION" file 1993-07-11 03:22:16 +00:00
jtc c5848148de GNU Gzip 1.2.2 1993-07-09 15:47:36 +00:00