b8e020f661
of ${MKDIR} ${PREFIX}/share and update to pl 18.
26 lines
547 B
Text
26 lines
547 B
Text
--- src/net.c.orig Fri Jul 23 03:50:48 1999
|
|
+++ src/net.c Wed Aug 4 20:32:42 1999
|
|
@@ -106,9 +106,9 @@
|
|
{
|
|
return -1;
|
|
}
|
|
-
|
|
+#ifndef __FreeBSD__
|
|
fcntl(sock , F_SETFL , O_NONBLOCK);
|
|
-
|
|
+#endif
|
|
rv = connect(sock, (struct sockaddr*)&addr, sizeof(addr));
|
|
if (rv && (errno != EINPROGRESS) && (errno != EISCONN))
|
|
{
|
|
@@ -296,9 +296,9 @@
|
|
int rv;
|
|
|
|
p = sizeof(caller);
|
|
-
|
|
+#ifdef __FreeBSD__
|
|
fcntl(sock , F_SETFL , O_NONBLOCK);
|
|
-
|
|
+#endif
|
|
rsock = accept(sock, (struct sockaddr*)&caller, &p);
|
|
if ((rsock < 0) && (errno != EWOULDBLOCK))
|
|
{
|