summaryrefslogtreecommitdiff
path: root/lang/classpath/patches/patch-aa
blob: f4952c3dc89b4765d6f54c18ff2f876dbb768e3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.3 2007/01/05 16:48:58 obache Exp $

--- native/jni/native-lib/cpnet.c.orig	2006-09-17 07:31:43.000000000 +0000
+++ native/jni/native-lib/cpnet.c
@@ -60,7 +60,7 @@ exception statement from your version. *
 #elif defined (HAVE_SO_NOSIGPIPE)
 #define SOCKET_NOSIGNAL SO_NOSIGPIPE
 #else
-#error "No suitable flag found to ommit a SIGPIPE on signal errors with send()."
+#define SOCKET_NOSIGNAL 0
 #endif
 
 static int socketTimeouts[FD_SETSIZE];