projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.24.48: Do explicit sign-extension of small signed alien return values
[sbcl.git]
/
src
/
code
/
external-formats
/
mb-util.lisp
diff --git
a/src/code/external-formats/mb-util.lisp
b/src/code/external-formats/mb-util.lisp
index
ecac8fa
..
e60dfed
100644
(file)
--- a/
src/code/external-formats/mb-util.lisp
+++ b/
src/code/external-formats/mb-util.lisp
@@
-81,7
+81,7
@@
;; two-byte sequence `"initial (length 3)"
;; "non-continuation"' -- `#xef #x32')
;; signal only part of that sequence as
;; two-byte sequence `"initial (length 3)"
;; "non-continuation"' -- `#xef #x32')
;; signal only part of that sequence as
- ;; erronous.
+ ;; erroneous.
(loop for i from 1 below (min len remaining-bytes)
always (valid-secondary-p i))
(enough-bytes-left-p len))))
(loop for i from 1 below (min len remaining-bytes)
always (valid-secondary-p i))
(enough-bytes-left-p len))))
@@
-276,7
+276,7
@@
(instantiate-octets-definition ,define-mb->string)
(instantiate-octets-definition ,define-mb->string)
- (push '(,aliases
- ,(make-od-name format '>string-aref) ,string->mb)
- *external-format-functions*)
+ (add-external-format-funs ',aliases
+ '(,(make-od-name format '>string-aref)
+ ,string->mb))
)))
)))