CVS commit: src/usr.bin/gzip
Module Name:src Committed By: simonb Date: Thu Jun 24 07:16:49 UTC 2021 Modified Files: src/usr.bin/gzip: gzip.c Log Message: Call check_siginfo() in compression loop to provide SIGINFO compression progress. Suggested by mrg@. To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117 src/usr.bin/gzip/gzip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: christos Date: Sun Nov 11 01:42:36 UTC 2018 Modified Files: src/usr.bin/gzip: unlz.c Log Message: use the data size in case stdout was a pipe (M. Levinson) To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.bin/gzip/unlz.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: christos Date: Mon Oct 29 00:14:37 UTC 2018 Modified Files: src/usr.bin/gzip: unlz.c Log Message: fix typo. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.bin/gzip/unlz.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: christos Date: Sat Oct 27 23:40:04 UTC 2018 Modified Files: src/usr.bin/gzip: unlz.c Log Message: handle stdin with header partially read. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/usr.bin/gzip/unlz.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: christos Date: Sat Oct 27 13:20:21 UTC 2018 Modified Files: src/usr.bin/gzip: unlz.c Log Message: remove debugging. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/usr.bin/gzip/unlz.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: kre Date: Sat Oct 27 11:52:26 UTC 2018 Modified Files: src/usr.bin/gzip: unlz.c Log Message: Fix printf conversion of off_t for 32 bit hosts (fix i386 build) (%td is for ptrdiff_t) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/usr.bin/gzip/unlz.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: skrll Date: Sat Oct 27 11:39:12 UTC 2018 Modified Files: src/usr.bin/gzip: gzip.c Log Message: Fix previous To generate a diff of this commit: cvs rdiff -u -r1.115 -r1.116 src/usr.bin/gzip/gzip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: christos Date: Fri Oct 26 22:10:15 UTC 2018 Modified Files: src/usr.bin/gzip: gzip.1 gzip.c Added Files: src/usr.bin/gzip: unlz.c Log Message: Add lzip support to gzip based on the example lzip decoder. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/usr.bin/gzip/gzip.1 cvs rdiff -u -r1.114 -r1.115 src/usr.bin/gzip/gzip.c cvs rdiff -u -r0 -r1.1 src/usr.bin/gzip/unlz.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: martin Date: Sat Oct 6 16:36:45 UTC 2018 Modified Files: src/usr.bin/gzip: gzip.c unxz.c Log Message: Add -l support for xz files To generate a diff of this commit: cvs rdiff -u -r1.113 -r1.114 src/usr.bin/gzip/gzip.c cvs rdiff -u -r1.7 -r1.8 src/usr.bin/gzip/unxz.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: kamil Date: Tue Jun 12 00:42:17 UTC 2018 Modified Files: src/usr.bin/gzip: gzip.c Log Message: Correct Undefined Behavior in gzip(1) Unportable left shift reported with MKSANITIZER=yes USE_SANITIZER=undefined: # progress -zf ./games.tgz tar -xp -C "./" -f - /public/src.git/usr.bin/gzip/gzip.c:2126:33: runtime error: left shift of 251 by 24 places cannot be represented in type 'int' 100% || 44500 KiB 119.69 MiB/s00:00 ETA Refactor the following code into something that is more clear and fix signed integer shift, by casting all buf[] elements to (unsigned int): unsigned char buf[8]; uint32_t usize; [...] else { usize = buf[4] | buf[5] << 8 | buf[6] << 16 | buf[7] << 24; [...] New version: usize = buf[4]; usize |= (unsigned int)buf[5] << 8; usize |= (unsigned int)buf[6] << 16; usize |= (unsigned int)buf[7] << 24; Only the "<< 24" part needs explicit cast, but for consistency make the integer promotion explicit and clear to a code reader. Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 src/usr.bin/gzip/gzip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: abhinav Date: Sun Oct 22 17:36:49 UTC 2017 Modified Files: src/usr.bin/gzip: gzip.1 Log Message: Add gunzip and zcat to the NAME section as well To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/usr.bin/gzip/gzip.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: christos Date: Wed Aug 23 13:04:17 UTC 2017 Modified Files: src/usr.bin/gzip: gzip.c Log Message: now that we are processing SIGINFO write can be interrupted and return partial results (well, it could before too but it was harder to trigger); provide write_fully like we have read_fully already. To generate a diff of this commit: cvs rdiff -u -r1.111 -r1.112 src/usr.bin/gzip/gzip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: mrg Date: Fri Aug 4 07:27:08 UTC 2017 Modified Files: src/usr.bin/gzip: gzip.1 gzip.c unbzip2.c unpack.c unxz.c Log Message: add SIGINFO support. To generate a diff of this commit: cvs rdiff -u -r1.28 -r1.29 src/usr.bin/gzip/gzip.1 cvs rdiff -u -r1.110 -r1.111 src/usr.bin/gzip/gzip.c cvs rdiff -u -r1.13 -r1.14 src/usr.bin/gzip/unbzip2.c cvs rdiff -u -r1.2 -r1.3 src/usr.bin/gzip/unpack.c cvs rdiff -u -r1.6 -r1.7 src/usr.bin/gzip/unxz.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: mrg Date: Sat Jun 3 21:28:48 UTC 2017 Modified Files: src/usr.bin/gzip: gzip.1 gzip.c Log Message: update copyright strings. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/usr.bin/gzip/gzip.1 cvs rdiff -u -r1.109 -r1.110 src/usr.bin/gzip/gzip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: wiz Date: Sun Jan 8 14:18:31 UTC 2017 Modified Files: src/usr.bin/gzip: gzip.1 Log Message: Document --keep. From Timo Buhrmester on netbsd-docs. Use more macros while here. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/usr.bin/gzip/gzip.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: christos Date: Fri Jan 29 15:19:01 UTC 2016 Modified Files: src/usr.bin/gzip: unxz.c Log Message: remove clauses 3, 4 To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.bin/gzip/unxz.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: mrg Date: Tue Oct 27 07:36:18 UTC 2015 Modified Files: src/usr.bin/gzip: gzip.1 gzip.c Log Message: port across the change from freebsd rev 290024: In gunzip(1), treat trailing garbage as a warning and not an error. This allows scripts to distinguish it between real fatal errors, for instance a CRC mismatch. Update manual page for the behavior change. PR: bin/203873 Submitted by: Eugene Grosbein MFC after: 2 weeks To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/usr.bin/gzip/gzip.1 cvs rdiff -u -r1.108 -r1.109 src/usr.bin/gzip/gzip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: nakayama Date: Mon Jul 6 12:05:40 UTC 2015 Modified Files: src/usr.bin/gzip: zgrep Log Message: zgrep(1): suppress the prefixing of filename on output when only one file is specified to match the grep(1)'s output. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/usr.bin/gzip/zgrep Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: christos Date: Wed Apr 15 02:29:13 UTC 2015 Modified Files: src/usr.bin/gzip: gzip.c Log Message: Coverity CID 1264915, Via FreeBSD (Xin Li) When reading in the original file name from gzip header, we read in PATH_MAX + 1 bytes from the file. In r281500, strrchr() is used to strip possible path portion of the file name to mitigate a possible attack. Unfortunately, strrchr() expects a buffer that is NUL-terminated, and since we are processing potentially untrusted data, we can not assert that be always true. Solve this by reading in one less byte (now PATH_MAX) and explicitly terminate the buffer after the read size with NUL. To generate a diff of this commit: cvs rdiff -u -r1.107 -r1.108 src/usr.bin/gzip/gzip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: wiz Date: Mon Apr 6 21:41:17 UTC 2015 Modified Files: src/usr.bin/gzip: gzip.1 Log Message: Document xz decompression support better. From Joachim Henke on netbsd-docs. To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/usr.bin/gzip/gzip.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: mrg Date: Tue Jan 13 02:37:20 UTC 2015 Modified Files: src/usr.bin/gzip: gzip.1 gzip.c Log Message: do not use directory paths present in gzip files with the -N flag, similar to the problem reported in pigz. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/usr.bin/gzip/gzip.1 cvs rdiff -u -r1.106 -r1.107 src/usr.bin/gzip/gzip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: pettai Date: Fri Dec 6 13:33:15 UTC 2013 Modified Files: src/usr.bin/gzip: zmore Log Message: fix == compatibility problem To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.bin/gzip/zmore Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: pettai Date: Wed Nov 13 11:12:24 UTC 2013 Modified Files: src/usr.bin/gzip: Makefile Log Message: Add zfgrep that fell off from last update To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/usr.bin/gzip/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: pgoyette Date: Thu Jul 25 12:25:23 UTC 2013 Modified Files: src/usr.bin/gzip: zgrep Log Message: fferentiate zegrep and zfgrep by their basename only, so they can be invoked with a pathname (ie, /usr/bin/z{e,f}grep). OK wiz@ To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/usr.bin/gzip/zgrep Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: christos Date: Fri Sep 30 01:32:21 UTC 2011 Modified Files: src/usr.bin/gzip: unxz.c Log Message: add copyright To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.bin/gzip/unxz.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: joerg Date: Tue Aug 30 23:06:01 UTC 2011 Modified Files: src/usr.bin/gzip: gzip.c Log Message: Use __printflike and __dead. To generate a diff of this commit: cvs rdiff -u -r1.104 -r1.105 src/usr.bin/gzip/gzip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: christos Date: Wed Aug 17 14:07:45 UTC 2011 Modified Files: src/usr.bin/gzip: unxz.c Log Message: fix non-literal format strings To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/usr.bin/gzip/unxz.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: christos Date: Wed Aug 17 14:07:31 UTC 2011 Modified Files: src/usr.bin/gzip: gzip.c Log Message: add noreturn atttribute. To generate a diff of this commit: cvs rdiff -u -r1.103 -r1.104 src/usr.bin/gzip/gzip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: christos Date: Tue Aug 16 03:25:35 UTC 2011 Modified Files: src/usr.bin/gzip: zuncompress.c Log Message: set errno on overflow return. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/usr.bin/gzip/zuncompress.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: christos Date: Tue Aug 16 03:21:47 UTC 2011 Modified Files: src/usr.bin/gzip: zuncompress.c Log Message: provisional fix for CVS-2011-2895, buffer overflow when uncompressing To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/usr.bin/gzip/zuncompress.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: joerg Date: Tue Jun 21 13:25:45 UTC 2011 Modified Files: src/usr.bin/gzip: Makefile gzip.c Log Message: Add a few explicit casts for sign mismatches. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/usr.bin/gzip/Makefile cvs rdiff -u -r1.102 -r1.103 src/usr.bin/gzip/gzip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: christos Date: Sun Jun 19 02:22:37 UTC 2011 Modified Files: src/usr.bin/gzip: gzip.1 Log Message: cross reference xz.1 To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/usr.bin/gzip/gzip.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: christos Date: Sun Jun 19 02:19:45 UTC 2011 Modified Files: src/usr.bin/gzip: unxz.c Log Message: make this work: - forgot to account for prelen in the input length - deal with EOF properly To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/usr.bin/gzip/unxz.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: christos Date: Sun Jun 19 02:19:09 UTC 2011 Modified Files: src/usr.bin/gzip: gzip.c Log Message: recognize .xz suffix To generate a diff of this commit: cvs rdiff -u -r1.101 -r1.102 src/usr.bin/gzip/gzip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: christos Date: Sun Jun 19 01:52:28 UTC 2011 Modified Files: src/usr.bin/gzip: unxz.c Log Message: - remove unused call - read headers separately - print error id. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/usr.bin/gzip/unxz.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: tsutsui Date: Sun Jun 19 01:20:19 UTC 2011 Modified Files: src/usr.bin/gzip: gzip.c Log Message: XZ_SUPPORT requires maybe_errx(). To generate a diff of this commit: cvs rdiff -u -r1.100 -r1.101 src/usr.bin/gzip/gzip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: christos Date: Sun Jun 19 00:43:54 UTC 2011 Modified Files: src/usr.bin/gzip: Makefile gzip.c Added Files: src/usr.bin/gzip: unxz.c Log Message: Add lzma (.xz) support. Somehow this does not decode after the first read yet. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/usr.bin/gzip/Makefile cvs rdiff -u -r1.99 -r1.100 src/usr.bin/gzip/gzip.c cvs rdiff -u -r0 -r1.1 src/usr.bin/gzip/unxz.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: tsutsui Date: Wed Mar 23 12:59:44 UTC 2011 Modified Files: src/usr.bin/gzip: gzip.c Log Message: Fix OPT_LIST. -t is not available in SMALL case. To generate a diff of this commit: cvs rdiff -u -r1.98 -r1.99 src/usr.bin/gzip/gzip.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: mrg Date: Sat Nov 6 21:42:32 UTC 2010 Modified Files: src/usr.bin/gzip: gzip.c unpack.c zuncompress.c Log Message: pull across a few changes from the freebsd folks: http://svn.freebsd.org/changeset/base/213044 - fixes gunzip issues http://svn.freebsd.org/changeset/base/213927 - fixes various typos and comments and also an older change to add support for bzip2's "-k" option: don't delete the input file thanks! To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.98 src/usr.bin/gzip/gzip.c cvs rdiff -u -r1.1 -r1.2 src/usr.bin/gzip/unpack.c cvs rdiff -u -r1.7 -r1.8 src/usr.bin/gzip/zuncompress.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: joerg Date: Wed Apr 14 20:30:28 UTC 2010 Modified Files: src/usr.bin/gzip: zdiff Log Message: Consistently use -- for all programs called. Drop some redundant flags for the no file argument case. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.bin/gzip/zdiff Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: wiz Date: Wed Apr 14 19:52:05 UTC 2010 Modified Files: src/usr.bin/gzip: zdiff.1 Log Message: Sort SEE ALSO, fix an xref. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/usr.bin/gzip/zdiff.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: src/usr.bin/gzip
Module Name:src Committed By: joerg Date: Wed Apr 14 18:55:12 UTC 2010 Modified Files: src/usr.bin/gzip: zdiff zdiff.1 Log Message: Refactor zdiff and extend functionality to the common suffixes for bzip2 and xz. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/usr.bin/gzip/zdiff src/usr.bin/gzip/zdiff.1 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.