Author: tridge Date: 2006-09-28 06:49:14 +0000 (Thu, 28 Sep 2006) New Revision: 18972
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18972 Log: we don't need this now all builds in the build farm are limited to 150 file descriptors. We'll pretty quickly find leaks :) Modified: branches/SAMBA_4_0/source/smb_server/smb/receive.c Changeset: Modified: branches/SAMBA_4_0/source/smb_server/smb/receive.c =================================================================== --- branches/SAMBA_4_0/source/smb_server/smb/receive.c 2006-09-28 06:44:47 UTC (rev 18971) +++ branches/SAMBA_4_0/source/smb_server/smb/receive.c 2006-09-28 06:49:14 UTC (rev 18972) @@ -78,18 +78,6 @@ 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);
