Fix STREAM-ELEMENT-MODE for non-fd ANSI-STREAMs
commit890140aaa5d44a4e0962ccb7f708026662bcb8ca
authorJan Moringen <jmoringe@techfak.uni-bielefeld.de>
Wed, 13 Apr 2016 14:01:21 +0000 (13 16:01 +0200)
committerJan Moringen <jmoringe@techfak.uni-bielefeld.de>
Sun, 1 May 2016 11:03:03 +0000 (1 13:03 +0200)
treebfbc777285b56dc7fbb8bfa542d841eab88e1a85
parent6ae2d99df402971a2fc42b83b3f46c9860c1b1dc
Fix STREAM-ELEMENT-MODE for non-fd ANSI-STREAMs

The previous strategy, converting the stream element-type to an element
mode for all non-fd streams, didn't work: there are non-fd ANSI streams
which return element-type CHARACTER even if they actually are bivalent.
src/code/fd-stream.lisp
src/code/stream.lisp
src/code/target-stream.lisp
tests/bivalent-stream.impure.lisp