Project

General

Profile

« Previous | Next » 

Revision f73ae058

Added by mame (Yusuke Endoh) almost 2 years ago

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.