mingw: correct exit-code for SIGALRM's SIG_DFL
authorErik Faye-Lund <redacted>
Tue, 4 Dec 2012 08:10:37 +0000 (09:10 +0100)
committerJunio C Hamano <redacted>
Tue, 4 Dec 2012 16:00:29 +0000 (08:00 -0800)
commitf4f549892ac686a9adcf3cb72bee1a11c0566c88
tree4eb85f5e0d5b040f5b8c23e2cea8c15cdb008fa7
parentf94c3251e1400c3cf349f7f84fea4db66b540113
mingw: correct exit-code for SIGALRM's SIG_DFL

Make sure SIG_DFL for SIGALRM exits with 128 + SIGALRM so other
processes can diagnose why it exits.

While we're at it, make sure we only write to stderr if it's a
terminal, and  change the output to match that of Linux.

Signed-off-by: Erik Faye-Lund <redacted>
Signed-off-by: Junio C Hamano <redacted>
compat/mingw.c
git clone https://git.99rst.org/PROJECT