freebsd-skq/usr.bin/gzip
Xin LI a0eb385c2e Remove unneeded checks for prelen.
In order to determine the type of a compressed file, we have to read
in the first four bytes which may also be important for decompression
purposes, to do that we would pass the buffer that we have already
read in, along with the size of it.

Rename header1 to fourbytes to make that explicit, and remove all
checks for prelen.

Reported by:	cem
Reviewed by:	cem
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D24034
2020-03-14 05:57:22 +00:00
..
tests
gzexe
gzexe.1
gzip.1 Correct documentation year. 2019-01-07 08:29:27 +00:00
gzip.c Remove unneeded checks for prelen. 2020-03-14 05:57:22 +00:00
Makefile
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00
Makefile.depend.options Add Makefile.depend.options 2019-12-11 17:37:37 +00:00
unbzip2.c
unlz.c Remove unneeded checks for prelen. 2020-03-14 05:57:22 +00:00
unpack.c Remove unneeded checks for prelen. 2020-03-14 05:57:22 +00:00
unxz.c Port NetBSD improvements: 2019-01-07 08:27:11 +00:00
zdiff
zdiff.1
zforce
zforce.1
zmore
zmore.1
znew
znew.1
zuncompress.c