authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-08-08 13:45:22+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-08-08 13:45:45+02:00
logcc6f42302a1cf768710d4888ce41004ef470d130
tree1f71f03411dc6565d07ac4dafeace76b81116a45
parent637504176bd3b9a2374fc9f7f2e759ead35ac9b5
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.os.linux: fix F.{SETSIG,GETSIG} values for non-hppa architectures

closes https://codeberg.org/ziglang/zig/issues/36432

1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/os/linux.zig+2-2
...@@ -2058,8 +2058,8 @@ pub const F = struct {...@@ -2058,8 +2058,8 @@ pub const F = struct {
2058 },2058 },
2059 };2059 };
20602060
2061 pub const SETSIG = if (is_hppa or native_arch == .alpha) 13 else 11;2061 pub const SETSIG = if (is_hppa) 13 else 10;
2062 pub const GETSIG = if (is_hppa or native_arch == .alpha) 14 else 12;2062 pub const GETSIG = if (is_hppa) 14 else 11;
20632063
2064 pub const SETOWN_EX = 15;2064 pub const SETOWN_EX = 15;
2065 pub const GETOWN_EX = 16;2065 pub const GETOWN_EX = 16;