summaryrefslogtreecommitdiff
path: root/usr.bin/compress
AgeCommit message (Collapse)Author
2008-02-25For the -l flag, set testmode to 1 instead of incrementing it. FixesTodd C. Miller
a bogus error message problem when the -t and -l flags are used together. OK miod@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30- use a consistent text for STANDARDSJason McIntyre
- note which options are extensions to POSIX
2007-05-20since less(1) and more(1) are the same point, don;t list them bothJason McIntyre
in SEE ALSO;
2007-05-20Add support for zmore being called as zless,Jonathan Gray
same behaviour but pager defaults to less instead of more. Incorporating feedback from millert@ and jmc@ ok millert@ simon@
2007-04-04oops, tweak previous here too;Jason McIntyre
2007-04-04tweak previous;Jason McIntyre
2007-04-04Rename "nosave" variable to "storename" in hopes of clarifyingTodd C. Miller
the code a bit. OK otto@
2007-04-04Clarify the behavior of the -N and -n flags.Todd C. Miller
2007-04-03Fix PR 5417; gunzip should set the timestamp based on theTodd C. Miller
compressed file by default. OK otto@
2007-03-19Fix check for failed read, and add another one; okay millert@Pedro Martelletto
2007-01-31Document $GZIP environment variable.Ray Lai
OK jmc@ and millert@.
2007-01-24split compress(1) into compress(1) and gzip(1), as suggested by millert;Jason McIntyre
ok/help millert otto
2007-01-18We don't want to use GZIP for compress. Only examine GZIP environmentTodd C. Miller
variable when invoked as gzip, gunzip, gzcat, etc. OK otto@
2006-12-01Fix two bugs: stdin is processed and the current working dir is notOtto Moerbeek
readable and having a file named '-'. PR 5301 and 5302. Diff from Vadim Vygonets, with some changes from me. ok millert@
2006-05-26remove references to CRTs where they no longer make sense;Jason McIntyre
tweaked by mickey/krw ok deraadt
2006-03-13Remove dependence on /dev/stdin and /dev/stdoutTodd C. Miller
Deal correctly with compressing both stdin and regular files OK jaredy@ deraadt@
2005-09-30Ensure we do not compress files we need for decompressing by alsoOtto Moerbeek
checking hard links. From Andrew Dalgleish. ok deraadt@
2005-08-25Prevent zs_stackp from going past the end of zs_htab. May happenTodd C. Miller
for corrupted files. Based on a diff from miod@; OK mickey@
2005-07-22- sort options and sync usage()Jason McIntyre
- reword CAVEATS whilst here
2005-07-22somehow we managed to document the exit status of these apps twice,Jason McIntyre
in slightly different ways: merge it all into one bit; RETURN VALUES section header removed since strictly speaking this is not for section one apps; help from otto@
2005-07-22- make synopsis agree with DESCRIPTIONJason McIntyre
- tidy up CAVEATS
2005-07-22add -g to gzcat synopsis: although it's not necessary, it matches howJason McIntyre
we describe gzip itself; update the description of -g to reflect this;
2005-07-22add some z* utils to SEE ALSO;Jason McIntyre
formatting tweak;
2005-07-22add zcat and gzcat to NAME;Jason McIntyre
2005-07-22sort synopsis and options list; sync usage() (as best we can);Jason McIntyre
help + ok jaredy@
2005-07-11Don't set timestamps created from stack garbage when compressingTodd C. Miller
from stdin. Based on a patch from marc@
2005-06-26be a bit more carefull not writing to the stream after the timestampsOtto Moerbeek
have been set. ok deraadt@
2005-04-17spacingTheo de Raadt
2005-04-17use correct functions names in warn()Hans-Joerg Hoexer
ok deraadt millert
2005-04-14use f{chown,chmod,utimes,chflags} instead; done with hshoexer, ok otto mickeyTheo de Raadt
2005-02-24remove docompress() completely in case of -DSMALL andMoritz Jodeit
replace it with a better error message. ok millert@ henning@
2005-02-07In list mode (which implies test mode), do not forget to initializeOtto Moerbeek
uncompressed_name. Spotted by markus@; ok hshoexer@ millert@
2005-01-27Compute compression ratio using signed arithmetic, since the compressed sizeOtto Moerbeek
might be larger than the original, yielding negative percentages. Spotted by markus@ ok henning@ hshoexer@
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