59b294e21a
simplify this...) - disable propolice on DragonFly - use void (*)(int) as type of sa_handler as by SUS - correctly annotate info usage, bump revision for this
13 lines
679 B
Text
13 lines
679 B
Text
$NetBSD: patch-af,v 1.1 2006/05/12 07:44:26 joerg Exp $
|
|
|
|
--- socket++/sockstream.cpp.orig 2006-05-12 07:23:32.000000000 +0000
|
|
+++ socket++/sockstream.cpp
|
|
@@ -245,7 +245,7 @@ bool sockerr::benign () const
|
|
case EWOULDBLOCK:
|
|
// On FreeBSD (and probably on Linux too)
|
|
// EAGAIN has the same value as EWOULDBLOCK
|
|
-#if !defined(__linux__) && !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__)) // LN
|
|
+#if !defined(__linux__) && !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__) || defined(__DragonFly__)) // LN
|
|
case EAGAIN:
|
|
#endif
|
|
return true;
|