From a707026e8a1da13122298a64b3da8b244676b7e9 Mon Sep 17 00:00:00 2001 From: wlott <wlott> Date: Thu, 13 Aug 1992 12:53:29 +0000 Subject: [PATCH] Fixed quote-string to stop at the fill pointer for strings with fill pointers. --- code/print.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/print.lisp b/code/print.lisp index c5e1792d4..a4735486f 100644 --- a/code/print.lisp +++ b/code/print.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/print.lisp,v 1.44 1992/07/28 01:57:31 wlott Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/print.lisp,v 1.45 1992/08/13 12:53:29 wlott Exp $") ;;; ;;; ********************************************************************** ;;; @@ -1039,7 +1039,7 @@ `(or (char= ,char #\\) (char= ,char #\")))) (write-char #\" stream) - (with-array-data ((data string) (start) (end)) + (with-array-data ((data string) (start) (end (length string))) (do ((index start (1+ index))) ((>= index end)) (let ((char (schar data index))) -- GitLab