Module Name:    src
Committed By:   riastradh
Date:           Wed Jan 22 06:16:23 UTC 2014

Modified Files:
        src/usr.bin/vndcompress: Makefile

Log Message:
Add comment explaining why piperestart.cl2part is allowed to fail.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/vndcompress/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/vndcompress/Makefile
diff -u src/usr.bin/vndcompress/Makefile:1.8 src/usr.bin/vndcompress/Makefile:1.9
--- src/usr.bin/vndcompress/Makefile:1.8	Wed Jan 22 06:15:39 2014
+++ src/usr.bin/vndcompress/Makefile	Wed Jan 22 06:16:23 2014
@@ -89,6 +89,9 @@ piperestart.cl2restart: piperestart.cl2p
 	&& head -c 700000 < /usr/share/dict/words \
 	| ./vndcompress -l 655360 -k 1 -rR /dev/stdin ${.TARGET}.tmp \
 	&& mv -f ${.TARGET}.tmp ${.TARGET}
+# The following rule uses ; and not && on purpose: vndcompress is
+# supposed to fail (and it is even OK to interrupt!) so we can restart
+# and fill in the rest.
 piperestart.cl2part: vndcompress
 	head -c 600000 < /usr/share/dict/words \
 	| ./vndcompress -l 655360 -k 1 /dev/stdin ${.TARGET}.tmp; \

Reply via email to