Commit Graph

45 Commits

Author SHA1 Message Date
Johan Karlsson
208464c323 Actually implement gzip's -c option. minigzip now also doubles
as zcat properly.

PR:		13043
Submitted by:	Toshihiko ARAI <toshi@jp.freebsd.org>
		Jonathan Towne <jontow@twcny.rr.com>

Approved by:	peter, sheldonh (mentor)
MFC After:	2 weeks
2002-10-03 19:30:22 +00:00
Mark Murray
c13373b7d7 Fix an easy warning in a local addition. 2002-08-01 11:29:05 +00:00
Kris Kennaway
3167dde2d5 Work around a gcc bug which causes zlib to dump core in certain
situations.  This can be removed once gcc is fixed.

Submitted by:	bde
2002-03-31 23:47:52 +00:00
Brian Feldman
5bd33b09b8 Remove some files we don't want. 2002-03-11 22:53:27 +00:00
Brian Feldman
de0a8799ad s/nilename/filename/ 2002-03-11 22:36:45 +00:00
Brian Feldman
4d22b11a56 Fix conflicts. 2002-03-11 22:36:26 +00:00
Brian Feldman
422658d924 This commit was generated by cvs2svn to compensate for changes in r92111,
which included commits to RCS files with non-trunk default branches.
2002-03-11 22:30:00 +00:00
Brian Feldman
cdbc2952f3 Import zlib 1.1.4 onto the vendor branch. 2002-03-11 22:30:00 +00:00
Brian Feldman
40b687d4f8 This commit was generated by cvs2svn to compensate for changes in r92109,
which included commits to RCS files with non-trunk default branches.
2002-03-11 22:29:59 +00:00
Brian Feldman
4193647780 Import zlib 1.1.4 onto the vendor branch. 2002-03-11 22:29:59 +00:00
Chris D. Faulhaber
efec00ac60 Error handling fixes for inflate. 2002-02-17 17:35:18 +00:00
Matthew Dillon
fa81a9761d Add huff __FBSDID()s puff to whew! libz 2001-09-30 22:39:00 +00:00
Kris Kennaway
131ee164c7 Add zopen(), a stdio wrapper for gzipped data streams.
Obtained from:	NetBSD
2001-09-06 09:14:49 +00:00
Dima Dorfman
7ebcc426ef Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
Ruslan Ermilov
4a558355e5 MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
Jeroen Ruigrok van der Werven
2fa72ea7d4 Fix typo: compatability -> compatibility.
Compatability is not an existing english word.
2001-02-06 12:05:58 +00:00
Chris D. Faulhaber
f3b0f821b0 Add appropriate defines to use snprintf/vsnprintf instead of
sprintf/vsprintf.

Approved by:	peter
2000-12-06 01:49:08 +00:00
Kris Kennaway
82b449c6a3 sprintf -> snprintf 2000-11-26 11:04:45 +00:00
Kris Kennaway
cd79a42a80 Prevent buffer overflows. 2000-08-04 06:25:30 +00:00
Sheldon Hearn
c6ff3a1bf7 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-02 09:14:21 +00:00
Rodney W. Grimes
d05257b0f2 Replace beforeinstall target with new variables used by .mk system.
Reviewed by:	marcel, and make world
2000-01-14 07:57:47 +00:00
Bruce Evans
1d64c295bb Hard-configure z_off_t as long. Soft configuration using HAVE_UNISTD_H
just breaks the prototypes for gzseek() and gztell() when an application
defines HAVE_UNISTD_H before including <zlib.h>.  z_off_t was always
long for compiling zlib, but was sometimes off_t for compiling
applications, e.g., Ethereal 0.7.5.

This "fix" preserves bug for bug binary compatibility.  z_off_t should
be off_t for everything, but zlib doesn't support off_t being longer
than long, so using the correct type without fixing zlib's internals
would at best break binary compatibility.  This "fix" also make the
namespace problems for HAVE_UNISTD_H no worse than hundreds of other
namespace prooblems in zconf.h.  I'll wait for a new release of zlib
for proper fixes.

Reported by:	Guy Harris via jkh
1999-10-09 11:31:50 +00:00
Mike Pritchard
229494cb51 Add $FreeBSD$ lines to man pages that are missing them to make it
easier for translation teams.

PR:		docs/13418
Submitted by:	Alexey Zelkin <phantom@cris.net>
1999-08-28 23:10:20 +00:00
Peter Wemm
7f3dea244c $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Peter Wemm
41d54c8049 Merge changes from vendor branch (1.1.1 -> 1.1.3) into mainline. 1999-01-10 09:53:51 +00:00
Peter Wemm
628b9c3475 Import zlib 1.1.3 onto the vendor branch.
Obtained from: ftp.cdrom.com:/pub/infozip/zlib
1999-01-10 09:47:00 +00:00
Peter Wemm
52454dcd09 This commit was generated by cvs2svn to compensate for changes in r42468,
which included commits to RCS files with non-trunk default branches.
1999-01-10 09:47:00 +00:00
Jordan K. Hubbard
7998601706 Allow minigzip to be invoked more like gzip, checking to see
if we're being called as gunzip as well as dealing with the -c
flag.
Submitted by:	jhay
1998-09-29 04:56:30 +00:00
Poul-Henning Kamp
4fe6f197e0 Backup out the last commit, it was already there.
Noticed by:	bde
1998-04-17 08:31:07 +00:00
Poul-Henning Kamp
b881fb3d9c Manpages not installed
PR:		6327
Reviewed by:	phk
Submitted by:	Chia-liang Kao <clkao@cirx.org>
1998-04-17 07:26:51 +00:00
Andrey A. Chernov
271012d5b9 Install manpage too 1998-02-28 10:41:01 +00:00
Steve Price
e827b8c5cb foo.gz is created by 'make test' so add it to CLEANFILES. 1998-02-28 06:27:59 +00:00
Steve Price
163df7f801 algorithm.doc renamed to algorithm.txt in new distribution. 1998-02-28 06:10:08 +00:00
Steve Price
25552e1d6d Merge conflicts. 1998-02-28 06:08:17 +00:00
Steve Price
bd957a8d6c Initial import of zlib-1.1.1
PR:		5869
Reviewed by:	jdp
1998-02-28 06:04:26 +00:00
Steve Price
9521a6bb06 This commit was generated by cvs2svn to compensate for changes in r33904,
which included commits to RCS files with non-trunk default branches.
1998-02-28 06:04:26 +00:00
Andrey A. Chernov
e97dbe1e30 Official patch from infozip 1997-09-23 21:34:42 +00:00
Andrey A. Chernov
65fce1274e This commit was generated by cvs2svn to compensate for changes in r29747,
which included commits to RCS files with non-trunk default branches.
1997-09-23 21:34:42 +00:00
Peter Wemm
57ece64fc6 Back out an easy $FreeBSD$ 1997-02-22 11:38:21 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Peter Wemm
7b9dff76d5 Clean up the beforeinstall target a bit more, bde pointed out that the old
one was a mess.  (I was in a 'talk' session at the time, can you tell? :-)
1996-08-19 01:21:46 +00:00
Peter Wemm
fd86e51e98 oops.. attempted to install header files from wrong directory.. 1996-08-18 23:52:20 +00:00
cvs2svn
65bf410cec This commit was manufactured by cvs2svn to create branch 'VENDOR-libz'. 1996-08-18 17:59:49 +00:00
Peter Wemm
b1c8a8dffe Add a bmakefile for zlib. 1996-08-18 17:59:48 +00:00
Peter Wemm
ac0a48f6a5 Initial import of zlib-1.0.4 1996-08-18 17:54:27 +00:00