[movitz-cvs] CVS update: movitz/losp/muerte/simple-streams.lisp

Frode Vatvedt Fjeld ffjeld at common-lisp.net
Sat Sep 25 15:26:50 UTC 2004


Update of /project/movitz/cvsroot/movitz/losp/muerte
In directory common-lisp.net:/tmp/cvs-serv6728

Modified Files:
	simple-streams.lisp 
Log Message:
Verify that vector-push-extend works for writing to string-stream.

Date: Sat Sep 25 17:26:49 2004
Author: ffjeld

Index: movitz/losp/muerte/simple-streams.lisp
diff -u movitz/losp/muerte/simple-streams.lisp:1.5 movitz/losp/muerte/simple-streams.lisp:1.6
--- movitz/losp/muerte/simple-streams.lisp:1.5	Thu May 20 19:48:34 2004
+++ movitz/losp/muerte/simple-streams.lisp	Sat Sep 25 17:26:49 2004
@@ -10,7 +10,7 @@
 ;;;; Author:        Frode Vatvedt Fjeld <frodef at acm.org>
 ;;;; Created at:    Fri Aug 29 13:39:43 2003
 ;;;;                
-;;;; $Id: simple-streams.lisp,v 1.5 2004/05/20 17:48:34 ffjeld Exp $
+;;;; $Id: simple-streams.lisp,v 1.6 2004/09/25 15:26:49 ffjeld Exp $
 ;;;;                
 ;;;;------------------------------------------------------------------
 
@@ -427,7 +427,9 @@
        (%check stream :output)
        (funcall-stm-handler-2 j-write-char character (sm melded-stream stream))))
     (string
-     (vector-push-extend character stream))))
+     (assert (vector-push-extend character stream)
+	 () "Vector-push-extend for string stream failed pushing ~S into ~S."
+	 character stream))))
 
 (defun %read-line (stream eof-error-p eof-value recursive-p)
   (declare (ignore recursive-p))





More information about the Movitz-cvs mailing list