diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-05-01 21:29:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-01 21:29:23 +0200 |
| commit | ad9cb401124e4b2d59e49bed2736aad7813e4f1d (patch) | |
| tree | 7bafd4a5dac886e67bb8f63ecfa22ae3bb2084c1 /lib/std/Progress.zig | |
| parent | 971d19a3b2ca97b9acd00d74556a57a335898ed8 (diff) | |
| parent | a55ecd7532e7ae015afe5cb5bc16b89376a4bf56 (diff) | |
| download | zig-ad9cb401124e4b2d59e49bed2736aad7813e4f1d.tar.gz zig-ad9cb401124e4b2d59e49bed2736aad7813e4f1d.zip | |
Merge pull request #23601 from rootbeer/sig-split
Split glibc and linux sigset_t ABIs and the accessor functions
Diffstat (limited to 'lib/std/Progress.zig')
| -rw-r--r-- | lib/std/Progress.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/Progress.zig b/lib/std/Progress.zig index 24f58e1c68..2213bd9b11 100644 --- a/lib/std/Progress.zig +++ b/lib/std/Progress.zig @@ -410,9 +410,9 @@ pub fn start(options: Options) Node { } if (have_sigwinch) { - var act: posix.Sigaction = .{ + const act: posix.Sigaction = .{ .handler = .{ .sigaction = handleSigWinch }, - .mask = posix.empty_sigset, + .mask = posix.sigemptyset(), .flags = (posix.SA.SIGINFO | posix.SA.RESTART), }; posix.sigaction(posix.SIG.WINCH, &act, null); |
