Skip site navigation (1)Skip section navigation (2)
Date:      25 Jul 2001 18:23:35 +0200
From:      Assar Westerlund <assar@FreeBSD.ORG>
To:        Mike Heffner <mheffner@vt.edu>
Cc:        Warner Losh <imp@harmony.village.org>, arch@FreeBSD.ORG
Subject:   Re: Making glob(3) portable (was Re: Importing lukemftpd)
Message-ID:  <5ly9pduge0.fsf@assaris.sics.se>
In-Reply-To: Mike Heffner's message of "Tue, 24 Jul 2001 23:41:00 -0400 (EDT)"
References:  <XFMail.20010724234100.mheffner@novacoxmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Heffner <mheffner@novacoxmail.com> writes:
> In what way is it not as bad? I agree that we don't have all the error values
> that NetBSD and OpenBSD have, but using a different one for this scenario than
> what the other *BSDs use is not very portable either.

The state where the FreeBSD error code had the same name as the
Net/OpenBSD option was bad, because then code using GLOB_LIMIT would
just build and fail badly at run-time.

> 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.

/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?5ly9pduge0.fsf>