From 5215dc7af8972377d672431ddcc45e09558a8340 Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Tue, 18 Feb 1992 16:56:49 +0000 Subject: [PATCH] Use VECTOR-SAP to explicitly convert the string ibuf into a system-area- pointer before calling UNIX-READ, because UNIX-READ no longer does it for us. Also, wrap it with a WITHOUT-GCING so that the garbage collector doesn't get confused. --- code/wire.lisp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/code/wire.lisp b/code/wire.lisp index b600a8a66..b0bb42bf4 100644 --- a/code/wire.lisp +++ b/code/wire.lisp @@ -7,7 +7,7 @@ ;;; Scott Fahlman or slisp-group@cs.cmu.edu. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/wire.lisp,v 1.7 1992/02/14 23:45:40 wlott Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/wire.lisp,v 1.8 1992/02/18 16:56:49 wlott Exp $") ;;; ;;; ********************************************************************** ;;; @@ -263,8 +263,10 @@ is signaled." (unless ibuf (error 'wire-eof :wire wire)) - (multiple-value-bind (bytes error) - (unix:unix-read fd ibuf buffer-size) + (multiple-value-bind + (bytes error) + (system:without-gcing + (unix:unix-read fd (system:vector-sap ibuf) buffer-size)) (cond ((null bytes) (error 'wire-io-error :wire wire -- GitLab