From 2b49ac1ac22f208bc5f1cfc94def7be301428323 Mon Sep 17 00:00:00 2001
From: ram <ram>
Date: Tue, 15 Feb 1994 14:45:07 +0000
Subject: [PATCH] Bind *break-on-signals* to NIL even before doing the type
 test so that we don't wedge the error system if the type is malformed or
 undefined.

---
 code/lispinit.lisp | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/code/lispinit.lisp b/code/lispinit.lisp
index 17b58ce72..72799a933 100644
--- a/code/lispinit.lisp
+++ b/code/lispinit.lisp
@@ -7,7 +7,7 @@
 ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/lispinit.lisp,v 1.44 1993/09/03 02:37:57 wlott Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/lispinit.lisp,v 1.45 1994/02/15 14:45:07 ram Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -132,8 +132,9 @@
   (let ((condition (coerce-to-condition datum arguments
 					'simple-condition 'signal))
         (*handler-clusters* *handler-clusters*))
-    (when (typep condition *break-on-signals*)
-      (let ((*break-on-signals* nil))
+    (let ((obos *break-on-signals*)
+	  (*break-on-signals* nil))
+      (when (typep condition obos)
 	(break "~A~%Break entered because of *break-on-signals* (now NIL.)"
 	       condition)))
     (loop
-- 
GitLab