| ... | @@ -476,9 +476,8 @@ pub fn abort() noreturn { | ... | @@ -476,9 +476,8 @@ pub fn abort() noreturn { |
| 476 | // Install default handler so that the tkill below will terminate. | 476 | // Install default handler so that the tkill below will terminate. |
| 477 | const sigact = Sigaction{ | 477 | const sigact = Sigaction{ |
| 478 | .handler = .{ .sigaction = SIG.DFL }, | 478 | .handler = .{ .sigaction = SIG.DFL }, |
| 479 | .mask = undefined, | 479 | .mask = empty_sigset, |
| 480 | .flags = undefined, | 480 | .flags = 0, |
| 481 | .restorer = undefined, | | |
| 482 | }; | 481 | }; |
| 483 | sigaction(SIG.ABRT, &sigact, null) catch |err| switch (err) { | 482 | sigaction(SIG.ABRT, &sigact, null) catch |err| switch (err) { |
| 484 | error.OperationNotSupported => unreachable, | 483 | error.OperationNotSupported => unreachable, |