summaryrefslogtreecommitdiffstats
path: root/usr.bin/compress/zopen.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused zclose function.fcambus2017-05-291-7/+1
| | | | | | From Brian Callahan, thanks! OK tb@
* start pulling apart some function pointers that take too many parameterstedu2016-09-031-28/+34
| | | | | | because of excessive code sharing. compression and decompression are not entirely similar, they should share less. ok joerg millert
* KNF whitespace fix and handle funopen error case.tobias2015-02-011-4/+10
| | | | ok millert
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-3/+4
| | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
* Remove the rcsid which were intentionally skipped in the "purge of 2009"deraadt2011-09-221-8/+1
| | | | | | because the -V command printed them... gut the -V (and -L, while there) to be silent. ok miod jsg
* Prevent zs_stackp from going past the end of zs_htab. May happenmillert2005-08-251-5/+14
| | | | for corrupted files. Based on a diff from miod@; OK mickey@
* be a bit more carefull not writing to the stream after the timestampsotto2005-06-261-4/+7
| | | | have been set. ok deraadt@
* spacingderaadt2005-04-171-4/+4
|
* protosderaadt2003-08-031-3/+3
|
* o implement -l, -n and -N (including setting outfile + mtime)millert2003-07-171-8/+29
| | | | | | | | | o make -v behave like GNU gzip for compress/decompress stats o write a full gzip header w/ mtime and file name o for -t/-l just don't write data instead of writing to /dev/null o exit code is now more consistent with GNU gzip o a crc error on decompress no longer causes unlink(outfile) mickey@ OK
* Move magic number checking into main.c and make it work whenmillert2003-07-111-23/+19
| | | | | | decompressing from a pipe. Currently assumes that magic numbers are 2 bytes but this is relatively easy to change as needed in the future. Discussed w/ mickey@
* knf and ansideraadt2003-06-221-48/+31
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-031-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* grop long option names, like gzip.mickey2002-12-081-13/+14
| | | | | | add most of the gzip's options (a few unimplemented yet). some cleaning, etc. millert@ ok
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-6/+6
|
* kill more registersmpech2001-11-191-24/+24
| | | | millert@ ok
* improve i/o handling use 8192 bytes buffer (16384 does not help much)mickey1999-03-041-110/+138
| | | | this makes it faster than gzip in uncompress mode.
* do gzipmickey1997-07-061-286/+247
|
* Minor cleanups to make gcc -Wall happier.millert1997-01-191-5/+5
|
* Add zdopen(); open a file descriptortholo1996-09-221-2/+52
|
* rcsidderaadt1996-06-261-1/+2
|
* initial import of NetBSD treederaadt1995-10-181-0/+746