diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-11-10 10:23:13 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-11-10 10:23:13 +0100 |
commit | 27b3fdbbe7ee26ef22de9abcd9b9aaa6f645c5be (patch) | |
tree | c726c7cbf8a84dc37177395dd0663b6bc7daacfd | |
parent | d282759463279ac4559662d24c12211f2ff56bf0 (diff) | |
download | gnutls-27b3fdbbe7ee26ef22de9abcd9b9aaa6f645c5be.tar.gz |
Ignore SIGPIPE.
Diagnosed by Petr Salinger and Steven Chamberlain. Reported by Andreas Metzler.
-rw-r--r-- | tests/mini-handshake-timeout.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/mini-handshake-timeout.c b/tests/mini-handshake-timeout.c index 0b220097ab..2dca76db00 100644 --- a/tests/mini-handshake-timeout.c +++ b/tests/mini-handshake-timeout.c @@ -234,6 +234,7 @@ void doit (void) { signal(SIGCHLD, ch_handler); + signal(SIGPIPE, SIG_IGN); /* make sure that normal handshake occurs */ start(0); |