mrg
6506e19a17
minor cleanup.
2004-03-06 09:41:36 +00:00
mrg
91d1fa9407
support decompressing "compress"ed files. from rtr@ with a few minor edits
...
from me. code in zuncompress liberally borrowed from usr.bin/compress.
2004-02-18 08:19:48 +00:00
mrg
49637d1931
use gzopenfull()
2004-01-29 13:18:58 +00:00
grant
23032f5513
void functions need not call return
2004-01-25 05:19:49 +00:00
jmmv
b635f565e7
Homogenize usage messages: make the 'usage' word all lowercase, as this seems
...
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
mrg
d8d414bd77
prepend_gzip: avoid searching beyond this string
2004-01-03 02:39:18 +00:00
simonb
95a042fe31
Fix off-by-one error in the malloc of the new argv in prepend_gzip().
2004-01-02 10:09:42 +00:00
wiz
7569ff6812
Fix typo in comment.
2004-01-02 03:12:21 +00:00
mrg
0b76a77c33
implement $GZIP handling.
2004-01-02 02:55:26 +00:00
mrg
91536bce55
note that $GZIP support is missing still
2004-01-02 01:40:59 +00:00
mrg
74e9c5767a
allow HAVE_ZLIB_GZOPENFULL to be overriden externally
2004-01-02 01:34:01 +00:00
mrg
e4b2fd8644
don't dump core in the face of unknown long options. from cjep@
2004-01-01 05:28:44 +00:00
mrg
09e6110c19
add some simple -DSMALL support. reduces the size of gzip(1) itself a by
...
nearly 2.5KB text.
2004-01-01 02:58:36 +00:00
mrg
ecadec7f36
port simonb's bzip2 support.
...
misc cleanups.
2004-01-01 02:44:09 +00:00
mrg
0889156103
GNU gzip compatibility: don't let "gzip -dc" (zcat) operate on non-gzip
...
files by default. -f must be used.
2003-12-28 13:42:28 +00:00
mrg
a4624b06a5
- document --list
...
- use unsigned char's that are used in unsigned calculations later.
2003-12-26 15:15:49 +00:00
mrg
9e3ca570b9
support gzip -l -v.
2003-12-26 15:06:16 +00:00
mrg
88899e3372
- print totals for --list.
...
- round down percentages, like GNU gzip does
- use "stdout" not "-", like GNU gzip does
- factor percent calculation code.
2003-12-26 14:49:37 +00:00
mrg
78b17b7b2b
begin to start to support --list.
2003-12-26 14:11:01 +00:00
mrg
75fa5559f5
- make this WARNS=3 happy
...
- add RCSID()
- document the version number
2003-12-23 15:02:40 +00:00
jdolecek
3c67b87463
some const-poisoing, depend on bss to set gzipflags[]
2003-12-23 08:11:58 +00:00
mrg
874b680779
delete unused variables
2003-12-23 06:23:18 +00:00
mrg
4084ec5402
import distrib/utils/x_gzip into usr.bin/gzip, with these enhancements:
...
- fully updated manual
- -n/-N support
- time stamp/owner/etc saved properly
- GNU gzip --long-options supported (missing --ascii, --list
and --licence)
- various cleanups & fixes
note that "-n" (save filename) support is currently disabled due to
depending on API changes in zlib. for now, this support is disabled
(however "gzip -N -d" works.)
this gzip(1) replacement is ready for serious testing. issues are:
- might implement --list one day
- zlib API addition
2003-12-23 05:16:31 +00:00