Fix a number of small errors in the port abstraction and its use:
authorTaylor R. Campbell <net/mumble/campbell>
Fri, 9 Dec 2005 07:06:23 +0000 (07:06 +0000)
committerTaylor R. Campbell <net/mumble/campbell>
Fri, 9 Dec 2005 07:06:23 +0000 (07:06 +0000)
commit92529092edc028b0c957b9e20aeffd4e6ac48e9c
treea2a0c9e2c8990a74b56f42079bc16630dc6ef126
parent6597a40567722dd0eb62dd0af7febe989270787c
Fix a number of small errors in the port abstraction and its use:

  - Fix WRITE-CHAR methods supplied to MAKE-PORT-TYPE to return the
    number of characters written, i.e. 1, not an unspecific value.
  - Make sure all of the input & output features in the port
    abstraction for transcript ports actually check whether the
    supplied operation succeeded before transcribing the I/O.
  - Use WIDE-STRING-REF, not STRING-REF, on wide strings.
  - Use XSUBSTRING-MOVE!, not SUBSTRING-MOVE!, on external strings.
v7/src/edwin/editor.scm
v7/src/runtime/genio.scm
v7/src/runtime/port.scm
v7/src/runtime/unicode.scm