Fix bugs detected by the test suite.
commit2f77b48ca1d3cd91bf005c9a6822edb7b32f3dbe
authorLuis Oliveira <loliveira@common-lisp.net>
Sat, 4 Aug 2007 02:07:29 +0000 (4 04:07 +0200)
committerStelian Ionescu <sionescu@common-lisp.net>
Sat, 4 Aug 2007 02:07:29 +0000 (4 04:07 +0200)
treee22a12470bfb08892c046c84c682f735f21763e5
parent0a421130357bf8cdd9a764aedbac309b90e9ef28
Fix bugs detected by the test suite.

- Don't try to close streams at initialization time.
  (hopefully this doesn't introduce some other bug elsewhere)
- Handle END-OF-INPUT-IN-CHARACTER properly in STREAM-READ-CHAR: check
  IOBUF-LENGTH instead of IOBUF-END-SPACE-LENGTH and have
  IOBUF-COPY-DATA-TO-START update the START and END offsets
  appropriately.
- Fix %WRITE-LINE-TERMINATOR (silly bug introfuced when porting to Babel).

Signed-off-by: Stelian Ionescu <sionescu@common-lisp.net>
io.streams/buffer.lisp
io.streams/gray-stream-methods.lisp