Thread (31 messages) 31 messages, 4 authors, 2025-07-10

Re: [PATCH v4 1/2] compat/mingw: allow sigaction(SIGCHLD)

From: Eric Sunshine <hidden>
Date: 2025-07-10 21:38:28

On Thu, Jul 10, 2025 at 3:45 PM Carlo Marcelo Arenas Belón via
GitGitGadget [off-list ref] wrote:
A future change will start using sigaction to setup a SIGCHLD signal
handler.

The current code uses signal(), which returns SIG_ERR (but doesn't
seem to set errno) so instruct sigaction() to do the same.

A new SA flag will be needed, so copy the one from Cygwinr; note that
the sigacgtion() implementation that is provided won't use it, so
its value is otherwise irrelevant.
s/Cygwinr/Cygwin/
s/sigacgtion/sigaction/
Signed-off-by: Carlo Marcelo Arenas Belón <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help