From 5d31bce8b6070e13ce7e2e8e3dee273233b42c46 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 28 Sep 2006 06:49:14 +0000 Subject: r18972: we don't need this now all builds in the build farm are limited to 150 file descriptors. We'll pretty quickly find leaks :) (This used to be commit be70992d71d7b8db64702f9be2b29aac3e463590) --- source4/smb_server/smb/receive.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'source4/smb_server') diff --git a/source4/smb_server/smb/receive.c b/source4/smb_server/smb/receive.c index f352db7488..775611c417 100644 --- a/source4/smb_server/smb/receive.c +++ b/source4/smb_server/smb/receive.c @@ -78,18 +78,6 @@ NTSTATUS smbsrv_recv_smb_request(void *private, DATA_BLOB blob) smb_conn->statistics.last_request_time = cur_time; - /* a temporary hack to allow me to find a possible file descriptor leak in - build farm machines (tridge) */ - { - static int maxfd; - int xfd = open("/dev/null", O_RDONLY); - close(xfd); - if (xfd > maxfd) { - maxfd = xfd; - DEBUG(0,("MAXFD=%d\n", maxfd)); - } - } - /* see if its a special NBT packet */ if (CVAL(blob.data, 0) != 0) { req = smbsrv_init_request(smb_conn); -- cgit