Allow CLOSE-INPUT-PORT and CLOSE-OUTPUT-PORT to independently close
authorChris Hanson <org/chris-hanson/cph>
Tue, 16 Feb 1999 05:22:58 +0000 (05:22 +0000)
committerChris Hanson <org/chris-hanson/cph>
Tue, 16 Feb 1999 05:22:58 +0000 (05:22 +0000)
either side of an I/O port.

v7/src/runtime/io.scm
v7/src/runtime/runtime.pkg

index 147758a05cab2376776552cf75948bcc3022dc0b..16c4deaaf49418f42b3b594f2460f6461cfad393 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: io.scm,v 14.55 1999/02/16 05:13:55 cph Exp $
+$Id: io.scm,v 14.56 1999/02/16 05:21:39 cph Exp $
 
 Copyright (c) 1988-1999 Massachusetts Institute of Technology
 
@@ -614,7 +614,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
   (output-buffer/drain-block buffer)
   (without-interrupts
    (lambda ()
-     (set-output-buffer/closed? buffer #t)
+     (set-output-buffer/closed?! buffer #t)
      (let ((channel (output-buffer/channel buffer)))
        (if (not (and (input-buffer? associated-buffer)
                     (eq? channel (input-buffer/channel associated-buffer))
index 7f48bc7e6a1ce97f1f4ccb89dc09a847a2426b96..b1c7ef6f9ea26caed08079b5c6a8450ec96e1d4f 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: runtime.pkg,v 14.308 1999/02/16 05:21:27 cph Exp $
+$Id: runtime.pkg,v 14.309 1999/02/16 05:22:58 cph Exp $
 
 Copyright (c) 1988-1999 Massachusetts Institute of Technology
 
@@ -1892,7 +1892,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
          output-buffer/set-size
          output-buffer/size
          output-buffer/write-char-block
-         output-buffer/write-string-block
          output-buffer/write-substring-block
          set-channel-port!)
   (export (runtime microcode-errors)