rely on nil si::*quit-tags* to enforce without-interrupts - gcl.git - GNU Common Lisp

index : gcl.git
GNU Common Lisp
summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamm Maguire <camm@debian.org>2014年09月28日 16:23:23 -0400
committerCamm Maguire <camm@debian.org>2014年09月28日 16:23:23 -0400
commitb71825a8793587874a6b7b12748b02450becebd8 (patch)
tree5094d21c5f16b8b019231d5b0ee100cc7735bdd1
parent68fa8a205d6dd5c07cde5ec1be406250e852f086 (diff)
downloadgcl-b71825a8793587874a6b7b12748b02450becebd8.tar.gz
rely on nil si::*quit-tags* to enforce without-interrupts
Diffstat
-rwxr-xr-xgcl/clcs/gcl_clcs_restart.lisp 3
-rwxr-xr-xgcl/clcs/gcl_clcs_top_patches.lisp 2
2 files changed, 3 insertions, 2 deletions
diff --git a/gcl/clcs/gcl_clcs_restart.lisp b/gcl/clcs/gcl_clcs_restart.lisp
index 49f16e824..1ff3d6e17 100755
--- a/gcl/clcs/gcl_clcs_restart.lisp
+++ b/gcl/clcs/gcl_clcs_restart.lisp
@@ -88,7 +88,8 @@
*kcl-top-restarts*)))))
(defun kcl-top-restarts ()
- (let* ((old-tags (ldiff si::*quit-tags* (member nil si::*quit-tags* :key 'cdr)))
+ (let* (;(old-tags (ldiff si::*quit-tags* (member nil si::*quit-tags* :key 'cdr)))
+ (old-tags si::*quit-tags*)
(old-tags (mapcan #'(lambda (e) (when (cdr e) (list (cdr e)))) old-tags))
(tags (if si::*quit-tag* (cons si::*quit-tag* old-tags) old-tags))
(restarts (mapcar #'find-kcl-top-restart tags)))
diff --git a/gcl/clcs/gcl_clcs_top_patches.lisp b/gcl/clcs/gcl_clcs_top_patches.lisp
index a318509c4..e758c79d1 100755
--- a/gcl/clcs/gcl_clcs_top_patches.lisp
+++ b/gcl/clcs/gcl_clcs_top_patches.lisp
@@ -191,6 +191,6 @@ Low level commands:
)
(defmacro without-interrupts (&rest forms)
- `(let (*quit-tag* conditions::*restart-clusters*)
+ `(let* (*quit-tag* *quit-tags* conditions::*restart-clusters*)
,@forms))
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月04日 14:56:51 +0000

AltStyle によって変換されたページ (->オリジナル) /