From 709809b5586686c1bab457eada12325609105ef0 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Tue, 16 Feb 1999 00:39:29 +0000 Subject: [PATCH] Eliminate use of READ-CHARS operation. --- v7/src/edwin/process.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/v7/src/edwin/process.scm b/v7/src/edwin/process.scm index 9b2c35b43..08d113caf 100644 --- a/v7/src/edwin/process.scm +++ b/v7/src/edwin/process.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;; $Id: process.scm,v 1.55 1999/02/01 03:56:08 cph Exp $ +;;; $Id: process.scm,v 1.56 1999/02/16 00:39:29 cph Exp $ ;;; ;;; Copyright (c) 1991-1999 Massachusetts Institute of Technology ;;; @@ -249,8 +249,7 @@ Initialized from the SHELL environment variable." (let ((port (subprocess-input-port (process-subprocess process))) (buffer (make-string 512)) (output? #f)) - (let ((read-chars (port/operation port 'READ-CHARS)) - (close-input + (let ((close-input (lambda () (deregister-process-input process) (close-port port) @@ -259,7 +258,7 @@ Initialized from the SHELL environment variable." (set! output? #t))))) (let loop () (if (process-runnable? process) - (let ((n (read-chars port buffer))) + (let ((n (input-port/read-string! port buffer))) (if n (if (fix:= n 0) (close-input) -- 2.25.1