mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
b8e020f661
of ${MKDIR} ${PREFIX}/share and update to pl 18.
27 lines
547 B
Plaintext
27 lines
547 B
Plaintext
--- 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))
|
|
{
|