1.0.6.31: use proper types for STRING-DISPATCH
authorNathan Froyd <froydnj@cs.rice.edu>
Wed, 6 Jun 2007 22:28:52 +0000 (22:28 +0000)
committerNathan Froyd <froydnj@cs.rice.edu>
Wed, 6 Jun 2007 22:28:52 +0000 (22:28 +0000)
* We only want to let one-dimensional character strings through.
  This change will probably produce better code, too.

src/code/fd-stream.lisp
src/code/pprint.lisp
version.lisp-expr

index 6c73160..7bef99d 100644 (file)
             (setf (fd-stream-obuf-tail stream)
                   (string-dispatch (simple-base-string
                                     #!+sb-unicode
-                                    (simple-array character)
+                                    (simple-array character (*))
                                     string)
                       string
                     (let ((len (fd-stream-obuf-length stream))
             (setf (fd-stream-obuf-tail stream)
                   (string-dispatch (simple-base-string
                                     #!+sb-unicode
-                                    (simple-array character)
+                                    (simple-array character (*))
                                     string)
                       string
                     (let ((len (fd-stream-obuf-length stream))
index 9fb162e..0da0d3d 100644 (file)
     (unless (= start end)
       (sb!impl::string-dispatch (simple-base-string
                                  #!+sb-unicode
-                                 (simple-array character))
+                                 (simple-array character (*)))
           string
         ;; For POSITION transform
         (declare (optimize (speed 2)))
index cbd3329..bf8a96b 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.6.30"
+"1.0.6.31"