NetBSD/usr.bin/vndcompress
riastradh 9783666546 Fix vndcompress restart failure fallback when input is a pipe.
Defer seeking the *input* image, or winding it forward, until we are
certain we all ready in the cloop2 output, because when the input
image is a pipe, we don't get a chance to seek back to the beginning
and start from the top instead of restarting.

If restart does fail, don't try to seek the input image back to the
beginning unless we had already tried to seek or wind it forward.

Add some automatic tests for this and related cases.

XXX pullup to netbsd-7, netbsd-6
2014-11-18 03:48:17 +00:00
..
Makefile Fix vndcompress restart failure fallback when input is a pipe. 2014-11-18 03:48:17 +00:00
common.h Change vndcompress to use a default window size of 512. 2014-01-22 06:18:00 +00:00
main.c Rename block size option from `-s' to `-b'. 2014-01-22 06:17:25 +00:00
offtab.c Get SIZE_MAX and OFF_MAX straight... 2014-01-25 16:38:15 +00:00
offtab.h Implement machinery for fixed-size windows into the offset table. 2014-01-22 06:15:22 +00:00
utils.c Judicious (and justified) casts to avoid signed/unsigned comparisons. 2014-01-22 06:15:31 +00:00
utils.h Implement machinery for fixed-size windows into the offset table. 2014-01-22 06:15:22 +00:00
vndcompress.1 Bump date on vndcompress(1) man page. 2014-01-22 06:18:17 +00:00
vndcompress.c Fix vndcompress restart failure fallback when input is a pipe. 2014-11-18 03:48:17 +00:00
vnduncompress.c Fix some more integer overflow/truncation issues. 2014-01-25 15:31:06 +00:00