From ef5f3a18547cc92954c49b0ef017dc387539902a Mon Sep 17 00:00:00 2001
From: dtc <dtc>
Date: Sat, 25 Sep 1999 15:39:08 +0000
Subject: [PATCH] Correct a typo in the with-lock-held macro, which broken it
 when a timeout was given. Fixes CLX event handling.

---
 code/multi-proc.lisp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/code/multi-proc.lisp b/code/multi-proc.lisp
index 2b491ed1f..1ae61a597 100644
--- a/code/multi-proc.lisp
+++ b/code/multi-proc.lisp
@@ -5,7 +5,7 @@
 ;;; the Public domain, and is provided 'as is'.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/multi-proc.lisp,v 1.36 1999/09/10 06:54:11 dtc Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/multi-proc.lisp,v 1.37 1999/09/25 15:39:08 dtc Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -1830,7 +1830,7 @@
 		   `(progn
 		      (when (and (error-check-lock-p ,lock) ,have-lock)
 			(error "Dead lock"))
-		      (unless (or ,have-lock
+		      (when (or ,have-lock
 				 #+i486 (null (kernel:%instance-set-conditional
 					       ,lock 2 nil *current-process*))
 				 #-i486 (seize-lock ,lock)
-- 
GitLab