Re: [PATCH 04/12] Avoid calling signal(SIGPIPE, ..) for MinGW builds.
Steffen Prohaska <prohaska@zib.de> writes:
> From: Marius Storm-Olsen <mstormo_git@storm-olsen.com>
>
> SIGPIPE isn't supported in MinGW.
Shouldn't #ifdef be on SIGPIPE not on __MINGW32__?
Show 9 quoted lines
> @@ -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