Skip to content
Snippets Groups Projects
Forked from cmucl / cmucl
Source project has a limited visibility.
  • rtoy's avatar
    069f884d
    Clean up how (setf stream-external-format) works. This change · 069f884d
    rtoy authored
    requires a cross-compile using the default cross-compile script.
    
    fd-stream.lisp:
    o Remove the SAVED-OC-STATE slot from an FD-STREAM because we don't
      need it anymore since we have the OCTET-COUNT slot.
    
    stream.lisp:
    o Don't need to copy the current OC-STATE to SAVED-OC-STATE.  Remove
      code and update comments.
    
    fd-stream-extfmt.lisp:
    o Use the OCTET-COUNT slot to figure out how many octets have been
      consumed so far to produce the characters that have already been
      read.  Don't need to do the re-conversion anymore, so we don't need
      the SAVED-OC-STATE anymore.
    o Add support for the case where we were using the ISO8859-1 external
      format and are now switching to another external format that
      requires the string-buffer.
    069f884d
    History
    Clean up how (setf stream-external-format) works. This change
    rtoy authored
    requires a cross-compile using the default cross-compile script.
    
    fd-stream.lisp:
    o Remove the SAVED-OC-STATE slot from an FD-STREAM because we don't
      need it anymore since we have the OCTET-COUNT slot.
    
    stream.lisp:
    o Don't need to copy the current OC-STATE to SAVED-OC-STATE.  Remove
      code and update comments.
    
    fd-stream-extfmt.lisp:
    o Use the OCTET-COUNT slot to figure out how many octets have been
      consumed so far to produce the characters that have already been
      read.  Don't need to do the re-conversion anymore, so we don't need
      the SAVED-OC-STATE anymore.
    o Add support for the case where we were using the ISO8859-1 external
      format and are now switching to another external format that
      requires the string-buffer.