1.0.12.34: fix bug, add error signalling in RUN-PROGRAM
commit972ab4ebe38803a62c9f942cba5a82e2365babe3
authorRichard M Kreuter <kreuter@users.sourceforge.net>
Sun, 16 Dec 2007 00:23:59 +0000 (16 00:23 +0000)
committerRichard M Kreuter <kreuter@users.sourceforge.net>
Sun, 16 Dec 2007 00:23:59 +0000 (16 00:23 +0000)
treea73fb7e37adb7d3af7772aa3cb1e95960609c6c2
parent6a0601ab48635465ad3400c290e5cfbca28e5367
1.0.12.34: fix bug, add error signalling in RUN-PROGRAM

* Incorrect initialization of one bookkeeping variable in
  COPY-DESCRIPTOR-TO-STREAM left another bookkeeping variable with
  garbage after a properly-encoded short read, causing subsequent
  decoding attempts to fail.  Only easily visible on when the child
  line buffers to one or another descriptor.

* Add test for same.

* Additionally, signal an error if we have any not-yet-decoded octets
  when the child closes its output or error.

* Add test for same.
src/code/run-program.lisp
tests/run-program.test.sh
version.lisp-expr