From 5e452aeaa904d80941332d535a11e5cd557b5846 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 7 Nov 2003 20:35:48 +0000 Subject: [PATCH] Make sure channel is appropriately marked when it is closed. --- v7/src/runtime/io.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/v7/src/runtime/io.scm b/v7/src/runtime/io.scm index 61fc928e2..9b901c567 100644 --- a/v7/src/runtime/io.scm +++ b/v7/src/runtime/io.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: io.scm,v 14.73 2003/06/08 04:07:40 cph Exp $ +$Id: io.scm,v 14.74 2003/11/07 20:35:48 cph Exp $ Copyright 1986,1987,1988,1990,1991,1993 Massachusetts Institute of Technology Copyright 1994,1995,1998,1999,2000,2001 Massachusetts Institute of Technology @@ -83,6 +83,7 @@ USA. (eq? 'OS/2-CONSOLE type)))) (define (channel-close channel) + (set-channel-descriptor! channel #f) (remove-from-gc-finalizer! open-channels channel)) (define-integrable (channel-open? channel) -- 2.25.1