From 48a3c122791a8fa17809c6df8afbfbe9f44a838a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 19 Oct 1998 01:03:52 +0000 Subject: removed an incorrect comment (This used to be commit 5abdb70e2a5cda2df444dfe5a9cdcb751be75ca8) --- source3/lib/util.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/util.c b/source3/lib/util.c index 8660e22e57..b49369a582 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -4857,10 +4857,6 @@ int set_maxfiles(int requested_max) #if (defined(HAVE_GETRLIMIT) && defined(RLIMIT_NOFILE)) struct rlimit rlp; getrlimit(RLIMIT_NOFILE, &rlp); - /* Set the fd limit to be real_max_open_files + MAX_OPEN_FUDGEFACTOR to - * account for the extra fd we need - * as well as the log files and standard - * handles etc. */ rlp.rlim_cur = MIN(requested_max,rlp.rlim_max); setrlimit(RLIMIT_NOFILE, &rlp); getrlimit(RLIMIT_NOFILE, &rlp); -- cgit