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
..
common.h
main.c
Makefile Fix vndcompress restart failure fallback when input is a pipe. 2014-11-18 03:48:17 +00:00
offtab.c
offtab.h
utils.c
utils.h
vndcompress.1
vndcompress.c Fix vndcompress restart failure fallback when input is a pipe. 2014-11-18 03:48:17 +00:00
vnduncompress.c