Skip to content

src: set SA_SIGINFO flag when using sa_sigaction

Rodrigo Muino Tomonari requested to merge github/fork/richardlau/sig into main

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), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading