0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/os/linux/test.zig
Yuming He 2eccd7e28d std.os.linux: fix sigdelset to clear the bit
XOR only cleared the bit when the signal was already present. Deleting an
absent signal set its bit instead, so the set gained a signal it never had.
Match POSIX, glibc and musl by clearing the bit, and cover deleting an absent
signal in the sigset tests.

Signed-off-by: Yuming He <ComixHe1895@outlook.com>
2026-10-23 01:08:16 +02:00

454 lines
15 KiB