Skip to content

Commit

Permalink
1.0.6.31: use proper types for STRING-DISPATCH
Browse files Browse the repository at this point in the history
	* We only want to let one-dimensional character strings through.
	  This change will probably produce better code, too.
  • Loading branch information
Nathan Froyd committed Jun 6, 2007
1 parent b7f3ef0 commit 176df6f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/code/fd-stream.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@
(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))
Expand Down Expand Up @@ -1291,7 +1291,7 @@
(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))
Expand Down
2 changes: 1 addition & 1 deletion src/code/pprint.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
(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)))
Expand Down
2 changes: 1 addition & 1 deletion version.lisp-expr
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 176df6f

Please sign in to comment.