On Thu, Jul 10, 2025 at 3:45 PM Carlo Marcelo Arenas Belón via GitGitGadget <gitgitgadget@xxxxxxxxx> 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 <carenas@xxxxxxxxx>