summaryrefslogtreecommitdiff
path: root/usr.bin/compress
AgeCommit message (Collapse)Author
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
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@