Thanks for reporting that. I installed the attached which should fix it.
From 73799908453a5ef96bf80843668653f0229ad76f Mon Sep 17 00:00:00 2001
From: Paul Eggert <egg...@cs.ucla.edu>
Date: Sat, 31 Dec 2022 18:56:33 -0800
Subject: [PATCH] maint: fix assumption typo
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Fix a typo I introduced in my August 2021 signal handling fixes.
Problem reported by Sam James (Bug#60457).
* src/util.c (xsigismember): Don’t assume sigismember cannot return 0.
---
 src/util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util.c b/src/util.c
index d2fd5ca..e4d7240 100644
--- a/src/util.c
+++ b/src/util.c
@@ -202,7 +202,7 @@ xsigismember (sigset_t const *set, int sig)
   int mem = sigismember (set, sig);
   if (mem < 0)
     pfatal_with_name ("sigismember");
-  assume (mem == 1);
+  assume (mem <= 1);
   return mem;
 }
 
-- 
2.37.2

Reply via email to