Commit Graph

47 Commits

Author SHA1 Message Date
gordon
4b82045616 Stage 3 of dynamic root support. Make all the libraries needed to run
binaries in /bin and /sbin installed in /lib. Only the versioned files
reside in /lib, the .so symlink continues to live /usr/lib so the
toolchain doesn't need to be modified.
2003-08-17 08:28:46 +00:00
se
d27362db92 Fix URL of zlib home page: It's hosted at gzip.org now. 2003-06-26 20:05:47 +00:00
jmz
3b26d59543 In src/lib/libz/gzio.c the function gzprintf does not check if the
amount of bytes (supposed to be) written by vsnprintf exceeds the
size of the buffer.

PR:		bin/48844
Submitted by:	Peter A Jonsson <pj@ludd.luth.se>
Obtained from:	OpenBSD
MFC after:	1 month
2003-03-14 01:47:01 +00:00
johan
6e3f4485a3 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
markm
098b1a105c Fix an easy warning in a local addition. 2002-08-01 11:29:05 +00:00
kris
07e73f051c 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
green
132d7f15a7 Remove some files we don't want. 2002-03-11 22:53:27 +00:00
green
92c4ebdfce s/nilename/filename/ 2002-03-11 22:36:45 +00:00
green
4902ec0db8 Fix conflicts. 2002-03-11 22:36:26 +00:00
green
1cfb2fd8a2 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
green
fdb69af642 Import zlib 1.1.4 onto the vendor branch. 2002-03-11 22:30:00 +00:00
green
f834ca0ed8 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
green
4419f7d9e3 Import zlib 1.1.4 onto the vendor branch. 2002-03-11 22:29:59 +00:00
jedgar
bda6315ef5 Error handling fixes for inflate. 2002-02-17 17:35:18 +00:00
dillon
48b7a24ebd Add huff __FBSDID()s puff to whew! libz 2001-09-30 22:39:00 +00:00
kris
524d719550 Add zopen(), a stdio wrapper for gzipped data streams.
Obtained from:	NetBSD
2001-09-06 09:14:49 +00:00
dd
c49a4e6620 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
ru
f85a17a1d7 MAN[1-9] -> MAN. 2001-03-27 17:27:19 +00:00
asmodai
9bb829b9c2 Fix typo: compatability -> compatibility.
Compatability is not an existing english word.
2001-02-06 12:05:58 +00:00
jedgar
97226906be Add appropriate defines to use snprintf/vsnprintf instead of
sprintf/vsprintf.

Approved by:	peter
2000-12-06 01:49:08 +00:00
kris
7cc8d32e5f sprintf -> snprintf 2000-11-26 11:04:45 +00:00
kris
308f342303 Prevent buffer overflows. 2000-08-04 06:25:30 +00:00
sheldonh
0bd4857cef 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
rgrimes
7e1486bf06 Replace beforeinstall target with new variables used by .mk system.
Reviewed by:	marcel, and make world
2000-01-14 07:57:47 +00:00
bde
70983e046b 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
mpp
08e72288bf 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
e226894fa0 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
peter
651ceadb9c Merge changes from vendor branch (1.1.1 -> 1.1.3) into mainline. 1999-01-10 09:53:51 +00:00
peter
d66bceff10 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
84d10ad330 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
jkh
980a28fb84 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
phk
a854d5b78c Backup out the last commit, it was already there.
Noticed by:	bde
1998-04-17 08:31:07 +00:00
phk
4940092d18 Manpages not installed
PR:		6327
Reviewed by:	phk
Submitted by:	Chia-liang Kao <clkao@cirx.org>
1998-04-17 07:26:51 +00:00
ache
71f2126865 Install manpage too 1998-02-28 10:41:01 +00:00
steve
a8457533c2 foo.gz is created by 'make test' so add it to CLEANFILES. 1998-02-28 06:27:59 +00:00
steve
627fdefb0a algorithm.doc renamed to algorithm.txt in new distribution. 1998-02-28 06:10:08 +00:00
steve
1aa9cca905 Merge conflicts. 1998-02-28 06:08:17 +00:00
steve
4e1bfc0123 Initial import of zlib-1.1.1
PR:		5869
Reviewed by:	jdp
1998-02-28 06:04:26 +00:00
steve
541ae4457c 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
ache
4ca5e59a79 Official patch from infozip 1997-09-23 21:34:42 +00:00
ache
c44212b6e7 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
713f181f4b Back out an easy $FreeBSD$ 1997-02-22 11:38:21 +00:00
jkh
9c0cd3f9df 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
90f3cfeb81 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
78a380fd77 oops.. attempted to install header files from wrong directory.. 1996-08-18 23:52:20 +00:00
peter
102ed9cac5 Add a bmakefile for zlib. 1996-08-18 17:59:48 +00:00
peter
70c83c0586 Initial import of zlib-1.0.4 1996-08-18 17:54:27 +00:00