Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-07-20 | document exit values | Todd C. Miller | |
2003-07-18 | Previously, "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-18 | Change "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-17 | two calls is less than a loop for two; millert@ ok | Michael Shalayeff | |
2003-07-17 | o 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 | |||
2003-07-15 | Don't compress a file that already has a known compression prefix. | Todd C. Miller | |
This matches GNU gzip behavior. | |||
2003-07-14 | Improved (and cleaner) suffix handling code. Now "gunzip foo.tgz" | Todd C. Miller | |
works as expected. mickey@ OK | |||
2003-07-14 | -t and implied -c due to piped in input is a legal combination of flags | Michael Shalayeff | |
2003-07-13 | Small tweaks from jmc@ | Todd C. Miller | |
o correct filename for stdin o fix "the the" o remove width from dash list (unused) o -compact for FILES list | |||
2003-07-13 | Install zdiff.1; noted by marc@ | Todd C. Miller | |
2003-07-12 | Add zdiff | Todd C. Miller | |
2003-07-11 | No longer need to assume -g when reading from stdin. | Todd C. Miller | |
2003-07-11 | Move magic number checking into main.c and make it work when | Todd C. Miller | |
decompressing from a pipe. Currently assumes that magic numbers are 2 bytes but this is relatively easy to change as needed in the future. Discussed w/ mickey@ | |||
2003-07-10 | add missing includes | David Krause | |
ok deraadt@ tedu@ | |||
2003-07-08 | fix fd closing logicand close in gzopen(); found by wilfried@ and millert@ ok | Michael Shalayeff | |
2003-06-30 | Make usage() take the exit val are an argument and have the -h flag | Todd C. Miller | |
use this to exit(0), not exit(1). Some configure/install sqcripts check for the existence of gzip by running "gzip -h" and checking the subshell's exit value. Noticed by naddy@ | |||
2003-06-29 | Return EINVAL on crc failure for gzip and make the driver program | Todd C. Miller | |
interpret this correctly. Makes "gzip -t" more useful. Discussed with deraadt@ | |||
2003-06-27 | Fix bug in put_int32() on big endian cpus; deraadt@ OK | Todd C. Miller | |
2003-06-27 | Fix -t mode; it needs to set decomp=1 too | Todd C. Miller | |
2003-06-23 | some cleanups | Theo de Raadt | |
2003-06-23 | - further document differences between compress and gzip | Jason McIntyre | |
- document -[1-9] mode for gzip - add relevant RFCs to SEE ALSO ok mickey@ deraadt@ millert@ | |||
2003-06-23 | sort .Xr's in SEE ALSO; | Jason McIntyre | |
2003-06-23 | Fix a typo in my last commit and convert file "-" to /dev/stdin like | Todd C. Miller | |
GNU gzip does. | |||
2003-06-23 | install zmore | Todd C. Miller | |
2003-06-23 | Make zmore read from stdin when no files are specified and try to | Todd C. Miller | |
ascertain wether or not we have a tty. Also add a skeleton manual page. | |||
2003-06-23 | When trying to cat a non-file, say "foo not a regular file" instead of | Todd C. Miller | |
"foo not a regular file: unchanged" since we never change the file in cat mode. | |||
2003-06-23 | Add a simple zmore; man page and Makefile changes to be added later | Todd C. Miller | |
2003-06-22 | man page changes from jmc: use this as gzip too | Theo de Raadt | |
2003-06-22 | knf and ansi | Theo de Raadt | |
2003-06-10 | mostly ansi cleanup; pval ok | Theo de Raadt | |
2003-06-10 | - section reorder | Jason McIntyre | |
- COMPATIBILITY merge - macro cleanup - kill whitespace at EOL - new sentence, new line ssh pages ok markus@ | |||
2003-06-04 | 4 was deleted, should be 3 | Theo de Raadt | |
2003-06-03 | three four kills | Michael Shalayeff | |
2003-06-03 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-04-07 | strlcpy; from Hans-Joerg.Hoexer@yerbouti.franken.de | Theo de Raadt | |
2003-01-07 | Avoid trashing an existing output file when the input cannot be read. | Todd C. Miller | |
Changes open order slightly and makes a distiction between errors < 0 and > 0. Prompted by a discussion on the freebsd-audit list. | |||
2003-01-06 | fix aproblem w/ -oct mix check and compressing /dev/stdin; millert@ ok | Michael Shalayeff | |
2002-12-17 | o Implement -r (recursive) option | Todd C. Miller | |
o add missing options to OPTSTRING o add some option mixing sanity checks o truncate existing files when uncompressing o fixed some problems with suffix handling This brings us closer to being able to replace GNU gzip; mickey@ OK | |||
2002-12-08 | grop long option names, like gzip. | Michael Shalayeff | |
add most of the gzip's options (a few unimplemented yet). some cleaning, etc. millert@ ok | |||
2002-08-12 | Swap args to calloc(3) so they are in the correct order; art@ ok. | Aaron Campbell | |
2002-05-30 | a grammar knit; from Aidan Kehoe <kehoea@parhasard.net> | Michael Shalayeff | |
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2001-11-19 | kill more registers | Mike Pechkin | |
millert@ ok | |||
2001-06-17 | mention zcat | Michael Shalayeff | |
2000-12-12 | Fix call to getopt(3) -- -S takes an argument; mpech@prosoft.org.lv | Todd C. Miller | |
2000-06-30 | warnx?/errx? paranoia (use "%s" not a bare string unless it is a | Todd C. Miller | |
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales). | |||
2000-03-23 | Fix some formatting problems I missed before. | Aaron Campbell | |
2000-03-10 | plug leak | David Leonard | |
2000-03-05 | Various improvements, including a few HISTORY sections added from FreeBSD. | Aaron Campbell | |
1999-11-18 | we don't install zopen.3 | Todd C. Miller | |