run-program: Don't check element-type of :output/:input streams.
commitd0b03c84c284e4a2d75e7e6107b00739f7d0cc82
authorStas Boukarev <stassats@gmail.com>
Thu, 16 Jan 2014 11:50:44 +0000 (16 15:50 +0400)
committerStas Boukarev <stassats@gmail.com>
Thu, 16 Jan 2014 11:50:44 +0000 (16 15:50 +0400)
tree3b3476da63e8eb8a782be1231c6f5020ec67b37c
parent260de2062fca170efdac3e42491d7d866c2d2e56
run-program: Don't check element-type of :output/:input streams.

Instead of checking ahead of time that stream-element-type is
compatible with unsigned-byte-8 buffers, rely on
write-sequence/read-sequence to signal any type errors, while wrapping
them in handler-bind to resignal errors with more context.
src/code/run-program.lisp