summary refs log tree commit diff
path: root/pkgs/development/compilers/swift/patches/sigunused.patch
blob: 2701d1a3ae257cef99fab4185c4932707295cb6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/swiftpm/Sources/Basic/Process.swift
+++ b/swiftpm/Sources/Basic/Process.swift
@@ -258,7 +258,7 @@ public func launch() throws {
         // modify, so we have to take care about the set we use.
         var mostSignals = sigset_t()
         sigemptyset(&mostSignals)
-        for i in 1 ..< SIGUNUSED {
+        for i in 1 ..< SIGSYS {
             if i == SIGKILL || i == SIGSTOP {
                 continue
             }