Update of /cvsroot/sbcl/sbcl
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv30896
188.8.131.52: bug fixes in unibyte external formats
* handling undefined codepoints:
There's a difference between "unassigned codepoint", represented as
(<code> nil), and "codepoint mapping to character with that codepoint",
represented by the absence of an entry in the exceptions list. Simply
testing for trueness of (cadr (assoc <code> exceptions)) isn't good
enough; test for trueness of (cdr (assoc ...)) and use the car if so.
* undefined codepoints as the first exception:
If the first exception to code<->byte is an undefined character, as for
example in iso-8859-8, the lowest-code exception was computed wrongly,
leading to incorrect encoding.
RCS file: /cvsroot/sbcl/sbcl/NEWS,v
retrieving revision 1.1634
retrieving revision 1.1635
diff -u -d -r1.1634 -r1.1635
--- NEWS 11 Nov 2009 17:10:40 -0000 1.1634
+++ NEWS 11 Nov 2009 17:21:05 -0000 1.1635
@@ -30,9 +30,10 @@
** fix the bug underlying the expected failure in the FORCE-END-OF-FILE
restart on fd-stream decoding errors.
** fix a bug in the ATTEMPT-RESYNC fd-stream decoding restart when the
- error is near the end of file
+ error is near the end of file.
** fix a double-error case in unibyte octet conversions, when the first
use of USE-VALUE is ignored.
+ ** fix bugs in handling of undefined code points in unibyte encodings.
* enhancement: SB-INTROSPECT:ALLOCATION-INFORMATION also reports if the
object is allocated in a boxed region of dynamic space.
* bug fix: uses of slot accessors on specialized method parameters within
RCS file: /cvsroot/sbcl/sbcl/version.lisp-expr,v
retrieving revision 1.4659
retrieving revision 1.4660
diff -u -d -r1.4659 -r1.4660
--- version.lisp-expr 11 Nov 2009 17:10:41 -0000 1.4659
+++ version.lisp-expr 11 Nov 2009 17:21:05 -0000 1.4660
@@ -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".)