* Thank to Luis Oliveira.
;;;; -*- coding: utf-8; -*-
* bug fix: lexical type declarations are now correctly reported by
SB-CLTL2. (reported by Larry D'Anna)
+ * bug fix: STRING-TO-OCTETS did not handle :START properly when
+ using UTF-8 as external format. (thanks to Luis Oliveira)
changes in sbcl-1.0.23 relative to 1.0.22:
* enhancement: when disassembling method functions, disassembly
(macrolet ((ascii-bash ()
'(let ((array (make-array (+ null-padding (- send sstart))
:element-type '(unsigned-byte 8))))
- (loop for i from sstart below send
- do (setf (aref array i) (char-code (char string i))))
+ (loop for i from 0
+ and j from sstart below send
+ do (setf (aref array i) (char-code (char string j))))
array)))
(etypecase string
((simple-array character (*))
)
)
+
+;; regression test: STRING->UTF8 didn't properly handle a non-zero
+;; START argument.
+(assert (equalp #(50) (string-to-octets "42" :start 1 :external-format :utf-8)))
;;; 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.23.1"
+"1.0.23.2"