From: Junio C Hamano Date: Wed, 02 Jul 2008 09:22:01 GMT Subject: Re: [PATCH 04/12] Avoid calling signal(SIGPIPE, ..) for MinGW builds. Message-ID: <7vod5gbpza.fsf@gitster.siamese.dyndns.org> In-Reply-To: <1214987532-23640-4-git-send-email-prohaska@zib.de> Steffen Prohaska writes: > From: Marius Storm-Olsen > > SIGPIPE isn't supported in MinGW. Shouldn't #ifdef be on SIGPIPE not on __MINGW32__? > @@ -100,9 +100,11 @@ int cmd_verify_tag(int argc, const char **argv, const char *prefix) > i++; > } > > +#ifndef __MINGW32__ > /* sometimes the program was terminated because this signal > * was received in the process of writing the gpg input: */ > signal(SIGPIPE, SIG_IGN); > +#endif