From: Marius Storm-Olsen <[EMAIL PROTECTED]>
SIGPIPE isn't supported in MinGW.
Signed-off-by: Marius Storm-Olsen <[EMAIL PROTECTED]>
Signed-off-by: Steffen Prohaska <[EMAIL PROTECTED]>
---
builtin-verify-tag.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/builtin-verify-tag.c b/builtin-verify-tag.c
index 92eaa89..540e3b9 100644
--- a/builtin-verify-tag.c
+++ b/builtin-verify-tag.c
@@ -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
while (i < argc)
if (verify_tag(argv[i++], verbose))
had_error = 1;
--
1.5.6.1.255.g32571