Prefer sa_handler
to sa_sigaction
in Wasm
Previously the code assigns `handler` function pointer, which accepts one argument, to `sigact.sa_sigaction`, which accepts three argument. This mismatch is not allowed in Wasm. I don't see the reason to use `sa_sigaction` here, so this change assigns to `sa_handler`, which accepts one argument, in Wasm.
This commit is contained in:
parent
86547fd69d
commit
f73ae05819
Loading…
x
Reference in New Issue
Block a user