]> Sergey Matveev's repositories - public-inbox.git/commit
sigfd: set SIGWINCH for MIPS and PA-RISC on Linux
authorEric Wong <e@80x24.org>
Mon, 17 Oct 2022 09:30:53 +0000 (09:30 +0000)
committerEric Wong <e@80x24.org>
Mon, 17 Oct 2022 22:16:45 +0000 (22:16 +0000)
commit0881010d123914be5e47544229e2b03412a6a691
tree283f5c806bfa9ac930b40d61d3aa5f7057093547
parent7a13b24e3b7f31a647ea180d5b180d8f8eaa025a
sigfd: set SIGWINCH for MIPS and PA-RISC on Linux

SIGWINCH is actually different for these architectures on Linux
according to the signal(7) man page.

Note: AFAICS there's no parisc machine in the GCC Farm[1],
so it remains untested.  I've only tested mips64 for mips,
but I expect them to both work.

OpenBSD (on gcc231) octeon defines SIGWINCH as the common `28',
so it appears Linux is the only one with arch-dependent signal
numbers (ditto with syscalls).

[1] https://cfarm.tetaneutral.net/machines/list/
devel/syscall-list
lib/PublicInbox/Sigfd.pm
lib/PublicInbox/Syscall.pm
t/sigfd.t