From cdcf76ffdaa1f0feafb74ce5ecd2c383b6876d9f Mon Sep 17 00:00:00 2001 From: rtoy <rtoy> Date: Fri, 14 Oct 2005 16:06:23 +0000 Subject: [PATCH] Fix a bug in compute-restarts failing to compute the correct restarts. Bug reported by Helmut Eller, cmucl-imp, 2005-02-27. Solution by Nikodemus Siivola, cmucl-imp, 2005-10-12. --- code/error.lisp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/error.lisp b/code/error.lisp index e05778c1a..40322f2e1 100644 --- a/code/error.lisp +++ b/code/error.lisp @@ -5,7 +5,7 @@ ;;; Carnegie Mellon University, and has been placed in the public domain. ;;; (ext:file-comment - "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/error.lisp,v 1.80 2005/09/09 19:36:34 pmai Exp $") + "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/error.lisp,v 1.81 2005/10/14 16:06:23 rtoy Exp $") ;;; ;;; ********************************************************************** ;;; @@ -114,7 +114,8 @@ (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)))) -- GitLab