summaryrefslogtreecommitdiff
path: root/usr.bin/compress
AgeCommit message (Collapse)Author
2004-09-20Make "gunzip foo.bar" work when there is a foo.bar.gz file.Todd C. Miller
OK otto@
2004-09-06set the xflags; form netbsd; millert@ deraadt@ otto@ okMichael Shalayeff
2004-07-29Don't set the output filename when in -t mode. Avoids an error whenTodd C. Miller
the input filename lacks a .gz. OK mickey@
2004-02-29don't stat(2) outfile in testmode; ok millert@, miod@Markus Friedl
2004-02-23knfTheo de Raadt
2004-01-22Make exit code for "unknown suffix" and "name too long" match GNU gzip.Todd C. Miller
Fixes an interaction with the perl CPAN module which checks the exit value.
2004-01-22Remove 3 unused variables.Todd C. Miller
2003-12-28fixes from wiz@netbsd;Jason McIntyre
2003-12-28various doc fixes from wiz@netbsd;Jason McIntyre
2003-12-16do not implement -L (print copyright) with SMALLHenning Brauer
186 bytes more bytes we can waste elsewhere
2003-12-16really don't implement unzip #ifdef SMALLHenning Brauer
this was in the tested diffs but slipped through when committing unfortunately, sorry
2003-12-16really don't do -V #ifdef SMALLHenning Brauer
2003-12-16do not include rcsids with -DSMALL and as it is meaningless then do notHenning Brauer
implement -V then. following a discussion with millert@
2003-12-16when we read the original file size from the gzp header in uncompress modeHenning Brauer
and compare it to total_out to detect I/O errors we need to cast total_out to u_int32_t as the gzip header file is limited to that and total_out is now 64 bits. ok millert@
2003-12-16avoid name clash with newer libz; breaks on static archsHenning Brauer
ok millert@
2003-12-09Fixes based on a patch from Moritz Jodeit; mickey@ OKTodd C. Miller
o break out of inflate() when we hit an error o fix printf format #ifdef SMALL o add version string of nullopen.c to -V output o remove unnecessary initializations to 0 for variables cat and decomp o beautify -l output to make it line up with the heading
2003-11-21Simplified support for concatenated files; similar to what zlib does.Todd C. Miller
mickey@ OK
2003-11-14Add support for inflating multiple concatenated file like GNU gzip does.Todd C. Miller
Problem noticed by lebel@, OK mickey@
2003-10-01.Xr compress 3 and a typo;Jason McIntyre
2003-09-05KNF nit pointed out by theoHenning Brauer
2003-09-05dont error out when the input file is a symlink AND output goes to stdoutHenning Brauer
inspired by PR3409, ckuethe@ualberta.ca, tho fixed differently matches gnu gzip behaviour ok millert@ tedu@ deraadt@
2003-09-05- add gzcat to SYNOPSIS and DESCRIPTIONJason McIntyre
- add -g flag to zcat in SYNOPSIS - .Nm cat -> .Xr cat 1 from myself and tedu@
2003-09-05we kind of need this new file from canacarTheo de Raadt
2003-09-05add a null compressor from canacar@ that lets gzcat work with uncompressedTed Unangst
files. also introduce SMALLness that removes null and Z compressors to save floppy space. ok deraadt@
2003-08-16Update HISTORY section. Full gzip compat was added in 3.4 and theTodd C. Miller
'g' stands for gratis.
2003-08-06typo;Jason McIntyre
2003-08-05spacingTheo de Raadt
2003-08-03gnu gzip dir is now bye byeTheo de Raadt
2003-08-03protosTheo de Raadt
2003-08-02A new, BSD licensed znew(1). Some suggestions from krw@ and millert@.Otto Moerbeek
ok millert@ krw@
2003-08-02Manual page for a new, BSD licensed znew(1).Otto Moerbeek
ok jmc@ millert@ krw@
2003-08-02Better description of how uncompressed file name is generated.Todd C. Miller
OK jmc@
2003-08-01cleanup;Jason McIntyre
ok millert@
2003-07-31Wrap a long lineOtto Moerbeek
ok deraadt@
2003-07-31Welcome BSD gzexe(1).Otto Moerbeek
ok deraadt@
2003-07-31A new, BSD licensed gzexe(1).Otto Moerbeek
ok millert@ krw@
2003-07-31The manual page for the new, BSD licensed gzexe(1).Otto Moerbeek
ok jmc@ millert@ krw@
2003-07-29Instead of checking for "stdout" in decompress(), just do the checkTodd C. Miller
in list_stats(). Looks cleaner and we don't have to rely on any special flags being set.
2003-07-29Bye bye GNU zforce(1), welcome BSD zforce(1).Otto Moerbeek
2003-07-29BSD licensed manual page for zforce(1). Some suggestions by jmc@.Otto Moerbeek
ok jmc@
2003-07-29Add $OpenBSD$Otto Moerbeek
ok millert@
2003-07-29A new, BSD licensed version of the zforce(1) script.Otto Moerbeek
ok millert@ deraadt@
2003-07-29Check cat, not pipin when deciding whether or not to make useTodd C. Miller
"stdout" as the filename in -l mode. Fixes "gzip -lN < foo.gz"
2003-07-27Return FAILURE for "file would grow" case so the .gz file gets removed.Todd C. Miller
Problem noticed by otto@
2003-07-25o deal with the case where -N was specified but no saved mtime in the gz fileTodd C. Miller
o a filename in the header should turn off cat mode if -N o make setmode() be smart about pipin and not set outfile based on /dev/stdin. mickey@ OK
2003-07-20document exit valuesTodd C. Miller
2003-07-18Previously, "cat" mode (ie: zcat) was set if no input file was specified,Todd C. Miller
and input was read from the standard input. However, if the -o option is specified, we don't need (or want) cat mode since the user has told us where the output should go.
2003-07-18Change "nosave" back into a boolean for improved grokability.Todd C. Miller
It is now initialized to -1 and, if the user did not specify the -n or -N flags, is set equal to "decomp". In other words, unless overridden via -n/-N, it is false when compressing, and true when decompressing (which is what we want).
2003-07-17two calls is less than a loop for two; millert@ okMichael Shalayeff
2003-07-17o implement -l, -n and -N (including setting outfile + mtime)Todd C. Miller
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