Update of /cvsroot/sbcl/sbcl
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv11406
126.96.36.199: fix listen / read-char-no-hang
Whoops. The external-format changes broke read-char-no-hang after an
unread-char: very noticeable indeed just as soon as an error occurs in
slime. In my defence, this was already broken on bivalent streams; I just
propagated that brokenness to all fd-streams.
Include a run-program-based test, because that produces the kind of streams
that can have no data and yet not be at EOF. In the slime context, they're
sockets, so it's a bit difficult to test the slime case exactly; ideas for
good simulations welcome.
RCS file: /cvsroot/sbcl/sbcl/NEWS,v
retrieving revision 1.1637
retrieving revision 1.1638
diff -u -d -r1.1637 -r1.1638
--- NEWS 12 Nov 2009 10:42:51 -0000 1.1637
+++ NEWS 12 Nov 2009 11:29:23 -0000 1.1638
@@ -18,7 +18,8 @@
external format the system supports, it is now possible to specify
(:<encoding> :replacement <character>) as an external format which will
automatically substitute <character> on encoding or decoding errors for
- streams and for STRING-TO-OCTETS and its inverse.
+ streams and for STRING-TO-OCTETS and its inverse. (launchpad bug
** improvement: the file streams underlying the standard streams (such as
*STANDARD-INPUT*, *TERMINAL-IO*) are opened with an external format
which uses the replacement mechanism to handle encoding errors,
@@ -39,6 +40,8 @@
** 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.
+ ** fix LISTEN (and consequent hangs in READ-CHAR-NO-HANG) on bivalent
+ streams after an UNREAD-CHAR.
* 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
@@ -57,6 +60,7 @@
the cross-compiler without warnings. (thanks to Josh Elasser; launchpad
* bug fix: correctly dump literal objects in defaulting forms of arglists.
+ (reported by Attila Lendvai; launchpad bug #310132)
changes in sbcl-1.0.32 relative to sbcl-1.0.31:
* optimization: faster FIND and POSITION on strings of unknown element type
RCS file: /cvsroot/sbcl/sbcl/version.lisp-expr,v
retrieving revision 1.4667
retrieving revision 1.4668
diff -u -d -r1.4667 -r1.4668
--- version.lisp-expr 12 Nov 2009 10:42:51 -0000 1.4667
+++ version.lisp-expr 12 Nov 2009 11:29:24 -0000 1.4668
@@ -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".)