nixpkgs/pkgs/development/compilers/swift/patches/sigunused.patch

12 lines
430 B
Diff
Raw Normal View History

2018-02-11 22:31:47 -08:00
--- a/swiftpm/Sources/Basic/Process.swift
+++ b/swiftpm/Sources/Basic/Process.swift
@@ -258,7 +258,7 @@ public func launch() throws {
2018-02-03 21:38:20 -08:00
// modify, so we have to take care about the set we use.
var mostSignals = sigset_t()
2018-02-11 22:31:47 -08:00
sigemptyset(&mostSignals)
2018-02-03 21:38:20 -08:00
- for i in 1 ..< SIGUNUSED {
+ for i in 1 ..< SIGSYS {
if i == SIGKILL || i == SIGSTOP {
continue
}