diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1997-04-24 19:37:59 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1997-04-24 19:37:59 +0000 |
commit | defc11dddc26eb184fca06670ae802b4b8896ecd (patch) | |
tree | 61e437724dbd99101e0b82798983330715c44068 /sysutils/tcplist/files/patch-02 | |
parent | Opps. Commit message for this patch should have been: (diff) |
Author applied our 4.4BSD patches and released a new version.
Submitted by: John DiMarco <jdd@cs.toronto.edu>
Notes
Notes:
svn path=/head/; revision=6291
Diffstat (limited to 'sysutils/tcplist/files/patch-02')
-rw-r--r-- | sysutils/tcplist/files/patch-02 | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/sysutils/tcplist/files/patch-02 b/sysutils/tcplist/files/patch-02 deleted file mode 100644 index e5daecc457ce..000000000000 --- a/sysutils/tcplist/files/patch-02 +++ /dev/null @@ -1,28 +0,0 @@ ---- tcplist.c.orig Tue Apr 15 00:28:29 1997 -+++ tcplist.c Tue Apr 15 00:31:40 1997 -@@ -37,6 +37,10 @@ - #include <arpa/inet.h> - #include <netdb.h> - -+#if ((defined(__unix__) || defined(unix)) && !defined(USG)) -+#include <sys/param.h> -+#endif -+ - #include "utils.h" - #include "tcplist.h" - -@@ -346,10 +350,14 @@ - - if(verbose) printf("Connecting to remote hosts.\n"); - -+#if (defined(BSD) && (BSD >= 199103)) -+ maxfd=getdtablesize(); /* could also use getrlimit(2) here... */ -+#else - if(0>(maxfd=ulimit(4,0l))){ - perror("ulimit"); - exit(2); - } -+#endif - - /* waltz through the connections in the hostlist, setting idents */ - /* to NULL */ |