Date: 27 Jul 2001 14:30:10 +0200 From: Assar Westerlund <assar@FreeBSD.ORG> To: Mike Heffner <mheffner@vt.edu> Cc: arch@FreeBSD.ORG Subject: Re: Making glob(3) portable (was Re: Importing lukemftpd) Message-ID: <5lr8v2mu5p.fsf@assaris.sics.se> In-Reply-To: Mike Heffner's message of "Wed, 25 Jul 2001 22:45:18 -0400 (EDT)" References: <XFMail.20010725224518.mheffner@novacoxmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Heffner <mheffner@novacoxmail.com> writes: > On 25-Jul-2001 Assar Westerlund wrote: > | Mike Heffner <mheffner@novacoxmail.com> writes: > | > |> IMO, removing GLOB_LIMITHIT, or whatever, and just using GLOB_NOSPACE with > |> errno=0 would be the first step in the direction of portability. > | > | Sure, we can do that. > > How's the following patch look: Ok, except I don't really like this errno part. I think it's bad using errno as a substitute for different error codes from glob() and it's not really going to be portable either, is it? Does the others set errno = 0 if the limit is reached? /assar To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5lr8v2mu5p.fsf>