1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
From d48571bb8eeb429a21ea09f3f0e6104ab6bacdf3 Mon Sep 17 00:00:00 2001
From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Date: Tue, 17 Feb 2026 09:35:57 +0100
Subject: [PATCH] Add check for duplicate definition of SIGLOST
Closes #545
---
libs/process/src/error.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/process/src/error.cpp b/libs/process/src/error.cpp
index 342707204..0c93fb30d 100644
--- a/libs/process/src/error.cpp
+++ b/libs/process/src/error.cpp
@@ -112,7 +112,7 @@ struct exit_code_category final : public error_category
# if defined(SIGKILL)
case SIGKILL: return "SIGKILL: Kill signal";
# endif
-# if defined(SIGLOST)
+# if defined(SIGLOST) && SIGLOST != SIGPWR
case SIGLOST: return "SIGLOST: File lock lost (unused)";
# endif
# if defined(SIGPIPE)
|