src: set SA_SIGINFO flag when using sa_sigaction
For sigaction()
the SA_SIGINFO
flag should be set when setting
the handler via the sa_sigaction
member of the sigaction
struct.
This unfortunately doesn't fix https://github.com/nodejs/node/issues/34410 but AFAICT looks correct based
on the sigaction()
docs.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
commit message follows commit guidelines