From b139ecead7c3ec595e2cc452fce78aae7420556f Mon Sep 17 00:00:00 2001 From: dtc <dtc> Date: Mon, 12 Apr 1999 12:39:26 +0000 Subject: [PATCH] Fix for format-print-integer: when printing a non-integer, need to pass the stream to princ. Noted by Sam Steingold. --- code/format.lisp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/format.lisp b/code/format.lisp index 952f0c759..c199f2e20 100644 --- a/code/format.lisp +++ b/code/format.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/format.lisp,v 1.40 1998/06/25 20:10:02 dtc Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/format.lisp,v 1.41 1999/04/12 12:39:26 dtc Exp $") ;;; ;;; ********************************************************************** ;;; @@ -741,7 +741,7 @@ (t commaed)))) ;; colinc = 1, minpad = 0, padleft = t (format-write-field stream signed mincol 1 0 padchar t)) - (princ number)))) + (princ number stream)))) (defun format-add-commas (string commachar commainterval) (let ((length (length string))) -- GitLab