Date: Thu, 15 Mar 2001 14:21:28 -0500 (EST) From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> To: Jonathan Lemon <jlemon@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen glob.c Message-ID: <200103151921.OAA48111@khavrinen.lcs.mit.edu> In-Reply-To: <200103151850.f2FIoXl53931@freefall.freebsd.org> References: <200103151850.f2FIoXl53931@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 15 Mar 2001 10:50:33 -0800 (PST), Jonathan Lemon <jlemon@FreeBSD.org> said: > Limit the number of paths that glob can return to MAX_GLOBENTRIES, which > is currently set to 10000. I don't see any language in the current POSIX draft that permits such behavior. I think it's clearly intended that glob() return all paths which match the given specification. The only possible error relevant to this case is: GLOB_NOSPACE An attempt to allocate memory failed. But I think returning GLOB_NOSPACE for the case of ``you tried to glob too many files'' is a huge stretch. -GAWollman 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?200103151921.OAA48111>