From owner-cvs-all Tue Jan 25 10:28:33 2000 Delivered-To: cvs-all@freebsd.org Received: from boco.fee.vutbr.cz (boco.fee.vutbr.cz [147.229.9.11]) by hub.freebsd.org (Postfix) with ESMTP id 22371157BA for ; Tue, 25 Jan 2000 10:22:40 -0800 (PST) (envelope-from cejkar@dcse.fee.vutbr.cz) Received: from kazi.dcse.fee.vutbr.cz (kazi.dcse.fee.vutbr.cz [147.229.8.12]) by boco.fee.vutbr.cz (8.9.3/8.9.3) with ESMTP id TAA99068 for ; Tue, 25 Jan 2000 19:22:36 +0100 (CET) Received: (from cejkar@localhost) by kazi.dcse.fee.vutbr.cz (8.9.3/8.9.3) id TAA31987 for cvs-all@FreeBSD.ORG; Tue, 25 Jan 2000 19:22:32 +0100 (CET) Date: Tue, 25 Jan 2000 19:22:32 +0100 From: Cejka Rudolf To: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: ports/ftp/wu-ftpd/patches patch-aa Message-ID: <20000125192232.A31472@dcse.fee.vutbr.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Mailer: Mutt 1.0i In-Reply-To: ; from ache@FreeBSD.org on Mon, Jan 24, 2000 at 02:33:21PM -0800 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > Added files: > ftp/wu-ftpd/patches patch-aa > Log: > restore historical NLIST behaviour > PR: 16183 > Submitted by: Dag-Erling Smørgrav There is (atleast) one more "feature" in wu-ftpd-2.6.0 (I have fighted with it on ftp.cz.FreeBSD.org): Maximum size of NLIST listing is NCARGS, which is ARG_MAX, which is very small number in FreeBSD - only 65536 (Solaris allows 1048576 and Linux allows 131072 I think). But NLIST of /pub/FreeBSD/distfiles is about 80000 bytes and it can't be handled with standard wu-ftpd-2.6.0 in FreeBSD (other systems are not affected so much). I anyone is interested in, there is a second patch - it is for glob.c file (sorry - I have this patch only and I haven't unpacked source tree at present): 47a48,49 > #define ARGSIZ (262144) > 51c53 < #define GAVSIZ (NCARGS/6) --- > #define GAVSIZ (ARGSIZ/6) 147c149 < gnleft = NCARGS - 4; --- > gnleft = ARGSIZ - 4; ... Grr. I think wu-ftpd-2.6.0 was a big mistake a shouldn't be used, so I didn't fill any PR. Sorry about it. ... -- Rudolf Cejka (cejkar@dcse.fee.vutbr.cz; http://www.fee.vutbr.cz/~cejkar) Brno University of Technology, Faculty of El. Engineering and Comp. Science Bozetechova 2, 612 66 Brno, Czech Republic To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message