Module Name: src Committed By: snj Date: Wed Mar 18 08:21:47 UTC 2015
Modified Files: src/usr.bin/vndcompress [netbsd-7]: Makefile vndcompress.c Log Message: Pull up following revision(s) (requested by riastradh in ticket #609): usr.bin/vndcompress/Makefile: revision 1.14 usr.bin/vndcompress/vndcompress.c: revision 1.25 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 To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.13.4.1 src/usr.bin/vndcompress/Makefile cvs rdiff -u -r1.24 -r1.24.4.1 src/usr.bin/vndcompress/vndcompress.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.