diff options
| author | Yusuke Endoh <mame@ruby-lang.org> | 2024-01-30 20:34:05 +0900 |
|---|---|---|
| committer | Yusuke Endoh <mame@ruby-lang.org> | 2024-01-30 21:18:48 +0900 |
| commit | f73ae058197ac134b89b0765bae147a19122f3dd (patch) | |
| tree | 662b72792aac1c7e5ad862cd3febe52e1b1b4817 /lib | |
| parent | 86547fd69d9793c82e34c3aad42c2418f4b16018 (diff) | |
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.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
