* COMPUTE-RESTARTS should return all restarts, even those with a test-function,
when invoked without a condition. (RESTART-BIND describes test-function as
accepting a condition, so we can't legally pass NIL in anyways -- the sane
alternative seems to be to skip this filtering when computing restarts without the
condition.)
Reported by Helmut Eller for CMUCL.
on platforms supporting dynamic-extent allocation.
* enhancement: saving cores with foreign code loaded is now supported
on MIPS/Linux in addition to the previously supported platforms.
+ * bug fix: COMPUTE-RESTARTS returns all active restarts, including those
+ with :TEST, when called without a condition. (reported by Helmut Eller for
+ CMUCL)
* bug fix: division by zero in sb-sprof when no samples were collected
* bug fix: a race when a slow to arrive sigprof signal killed sbcl
* bug fix: asdf-install uses CRLF as required by the HTTP spec.
(when (and (or (not condition)
(member restart associated)
(not (member restart other)))
- (funcall (restart-test-function restart)
- condition))
+ (or (not condition)
+ (funcall (restart-test-function restart)
+ condition)))
(res restart))))
(res))))
(assert (typep (sb-mop:class-prototype (find-class 'counted-condition))
'(and condition counted-condition)))
+(define-condition picky-condition () ())
+(restart-case
+ (handler-case
+ (error 'picky-condition)
+ (picky-condition (c)
+ (assert (eq (car (compute-restarts)) (car (compute-restarts c))))))
+ (picky-restart ()
+ :report "Do nothing."
+ :test (lambda (c) (typep c 'picky-condition))
+ 'ok))
+
;;; success
;;; 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".)
-"0.9.5.44"
+"0.9.5.45"