1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/ftp/pavuk/files/patch-ab
Bill Fumerola c517d4abf6 Pavuk is a HTTP, FTP and Gopher mirroring tool.
What this program does :

   - recursive HTTP , HTTP over SSL , FTP and Gopher document retrieving
   - synchronizing retrieved local copies of document with remote
   - partial content retrieving on servers which suppots it (FTP and HTTP/1.1)
   - follows moved documents
   - supports "robots.txt" standart
   - supports HTTP and FTP proxy server
   - supports HTTP authentification
   - shows document tree
   - have interface to "at" command for scheduling
   - have X-windows user interface (built with own widgets based on plain Xt)
   - may be built with or without X-windows user interface
   - can handle setup files

PR:		ports/6085
1998-12-16 22:37:40 +00:00

23 lines
501 B
Plaintext

--- src/net.c Sun Feb 1 10:53:47 1998
+++ /home/andy/tmp/wrk/src/net.c Fri Mar 20 22:00:21 1998
@@ -129,7 +129,9 @@
}
+#ifndef __FreeBSD__
fcntl(sock , F_SETFL , O_SYNC);
+#endif
if ((connect(sock, (struct sockaddr*)&addr, sizeof(addr)) == -1) &&
(errno && (errno != EISCONN)))
{
@@ -259,7 +261,9 @@
}
}
+#ifndef __FreeBSD__
fcntl(sock , F_SETFL , O_SYNC);
+#endif
}
#endif
if ((rsock < 0) && ((rsock = accept(sock, (struct sockaddr*)&caller, &p)) == -1))