Steffen Prohaska [off-list ref] writes:
From: Marius Storm-Olsen <redacted>
SIGPIPE isn't supported in MinGW.
Shouldn't #ifdef be on SIGPIPE not on __MINGW32__?
quoted hunk ↗ jump to hunk
@@ -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