File: 546.patch

package info (click to toggle)
boost1.90 1.90.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 593,168 kB
  • sloc: cpp: 4,190,642; xml: 196,648; python: 34,618; ansic: 23,145; asm: 5,468; sh: 3,776; makefile: 1,162; perl: 1,020; sql: 728; ruby: 676; yacc: 478; java: 77; lisp: 24; csh: 6
file content (23 lines) | stat: -rw-r--r-- 925 bytes parent folder | download
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)