summaryrefslogtreecommitdiff
path: root/usr.bin/compress
AgeCommit message (Collapse)Author
2013-04-17zlib info header is 32-bit; handle for localtime() call; ok millertTheo de Raadt
2012-09-30When outputting to stdout and compressing would grow the file, exitTodd C. Miller
normally instead of with a value of 2. Also avoids unlinking the file "stdout" in the current directory in this case. OK miod@ sthen@ henning@ beck@
2012-09-26last stage of rfc changes, using consistent Rs/Re blocks, and moving theJason McIntyre
references into a STANDARDS section;
2012-08-21flesh out the rfc sections;Jason McIntyre
2011-09-22Remove the rcsid which were intentionally skipped in the "purge of 2009"Theo de Raadt
because the -V command printed them... gut the -V (and -L, while there) to be silent. ok miod jsg
2011-03-05Fix potential crash when GZIP variable set and more than 512 commandTodd C. Miller
line args specified. Closes PR 6573. OK deraadt@
2010-09-03add an EXIT STATUS section for /usr/bin;Jason McIntyre
2010-07-28Truncate output file when compressing. OK deraadt@Todd C. Miller
2010-07-22document exit returns; from daniel dickmanJason McIntyre
2010-07-01if you want usenet archives from 1985, you'll have to look elsewhereTed Unangst
2010-03-27remove irrelevant man page; ok deraadtJason McIntyre
2010-03-26dispense with some wacky escape sequences;Jason McIntyre
2009-11-11memory leak with #ifdef SMALL, found by parfaitTheo de Raadt
ok jsg
2009-08-16replace ".Ar file ..." with ".Ar" whenever possible.Igor Sobrado
ok jmc@
2009-04-18allow -V (show version) in decompression mode; ok millert@Christian Weisgerber
2009-02-10STANDARDS:Jason McIntyre
mark these utilities as being either optional (SD/FR/UP); or as being compliant only with XPG4 (XSI); strip.1 and talk.1 are tweaked purely for consistency; thanks otto for feedback
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2009-02-08some minor corrections for the STANDARDS section;Jason McIntyre
2008-10-08For "gunzip -N", the name stored in the gzip header has no directory,Todd C. Miller
so write the uncompressed file in the same directory we would use were the -N option not specified. Closes PR 5224
2008-08-20Use and report errors that inflate(3) can return, instead ofMarco Pfatschbacher
aborting silently, and pretending everything went alright. This lets gzip(1) (especially gzip -t) detect truncated archives and curruptions that violate the structure of the zlib format. Unquiet compress(1) in zless/zmore, so the user has a chance to see errors on corrupted archives. OK millert@, markus@
2008-08-07spacing.Igor Sobrado
2008-07-27an enum specifier is more elegant than a set of #defines;Igor Sobrado
storing the program mode variable (pmode) as a global let us have a more consistent prototype for usage(). changes suggested by pyr@. ok pyr@
2008-07-05each utility must have its own usage and an unique set of options.Igor Sobrado
diff written by millert based on a previous one by me; millert's diff has a much better style and adds support for different sets of options for each utility. ok millert@
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@