Changeset 5231


Ignore:
Timestamp:
Sep 20, 2006, 3:22:18 AM (18 years ago)
Author:
Gary Byers
Message:

WRITE-BYTE for BASIC-STREAMs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/lib/streams.lisp

    r5204 r5231  
    130130(defun write-byte (byte stream)
    131131  "Write one byte, BYTE, to STREAM."
    132   (stream-write-byte stream byte)
     132  (if (typep stream 'basic-stream)
     133    (let* ((ioblock (basic-stream-ioblock stream)))
     134      (funcall (ioblock-write-byte-function ioblock) ioblock byte))
     135    (stream-write-byte stream byte))
    133136  byte)
    134137
Note: See TracChangeset for help on using the changeset viewer.