Date: Tue, 25 Jan 2000 19:22:32 +0100 From: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz> To: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: ports/ftp/wu-ftpd/patches patch-aa Message-ID: <20000125192232.A31472@dcse.fee.vutbr.cz> In-Reply-To: <no.id>; from ache@FreeBSD.org on Mon, Jan 24, 2000 at 02:33:21PM -0800
next in thread | previous in thread | raw e-mail | index | archive | help
> Added files: > ftp/wu-ftpd/patches patch-aa > Log: > restore historical NLIST behaviour > PR: 16183 > Submitted by: Dag-Erling Smørgrav <des@yes.no> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000125192232.A31472>