mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Author applied our 4.4BSD patches and released a new version.
Submitted by: John DiMarco <jdd@cs.toronto.edu>
This commit is contained in:
parent
065242e3e8
commit
defc11dddc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6291
@ -4,10 +4,10 @@
|
||||
# Date created: Mon Apr 14, 1997
|
||||
# Whom: David O'Brien (obrien@FreeBSD.org)
|
||||
#
|
||||
# $Id$
|
||||
# $Id: Makefile,v 1.2 1997/04/24 16:31:42 obrien Exp $
|
||||
#
|
||||
|
||||
DISTNAME= tcplist-2.1
|
||||
DISTNAME= tcplist-2.2
|
||||
CATEGORIES= sysutils net
|
||||
MASTER_SITES= ftp://ftp.cdf.toronto.edu/pub/tcplist/ \
|
||||
ftp://ftp.ece.uc.edu/pub/sun-faq/FAQs/mirrors/ftp.cdf.toronto.edu/tcplist/ \
|
||||
|
@ -1 +1 @@
|
||||
MD5 (tcplist-2.1.shar.gz) = 1563b70141821d06bc17e5e3c2856b87
|
||||
MD5 (tcplist-2.2.shar.gz) = 3e6c9da0b6037c779ec1da71aa61887b
|
||||
|
@ -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 */
|
Loading…
Reference in New Issue
Block a user