From owner-freebsd-arch Tue Jul 24 20:43:31 2001 Delivered-To: freebsd-arch@freebsd.org Received: from iatl0x01.coxmail.com (iatl0x02.coxmail.com [206.157.225.11]) by hub.freebsd.org (Postfix) with ESMTP id AF37F37B403; Tue, 24 Jul 2001 20:43:25 -0700 (PDT) (envelope-from mheffner@novacoxmail.com) Received: from enterprise.muriel.penguinpowered.com ([209.249.161.66]) by iatl0x01.coxmail.com (InterMail vK.4.03.02.00 201-232-124 license eaa2928f5bcba31507d4d280f1027278) with ESMTP id <20010725034325.GVY18366.iatl0x01@enterprise.muriel.penguinpowered.com>; Tue, 24 Jul 2001 23:43:25 -0400 Message-ID: X-Mailer: XFMail 1.5.0 on FreeBSD X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="_=XFMail.1.5.0.FreeBSD:20010724234100:2934=_"; micalg=pgp-md5; protocol="application/pgp-signature" In-Reply-To: <5litghyfxs.fsf@assaris.sics.se> Date: Tue, 24 Jul 2001 23:41:00 -0400 (EDT) Reply-To: Mike Heffner From: Mike Heffner To: Assar Westerlund Subject: Making glob(3) portable (was Re: Importing lukemftpd) Cc: Warner Losh , arch@FreeBSD.ORG Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This message is in MIME format --_=XFMail.1.5.0.FreeBSD:20010724234100:2934=_ Content-Type: text/plain; charset=us-ascii On 25-Jul-2001 Assar Westerlund wrote: | Mike Heffner writes: |> Why not just do away with the LIMITHIT return code and just use GLOB_NOSPACE |> like NetBSD and OpenBSD does? | | because: | | 1. It's a different error condition and thus I thought it merited | (still having) a different error code. | 2. It wasn't as bad for portability. Error codes aren't quite 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. | portabel among the *BSDs as it is currently, but perhaps we should | work on that. IMO, removing GLOB_LIMITHIT, or whatever, and just using GLOB_NOSPACE with errno=0 would be the first step in the direction of portability. | | /assar Mike -- Mike Heffner Fredericksburg, VA --_=XFMail.1.5.0.FreeBSD:20010724234100:2934=_ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7Xj/LFokZQs3sv5kRAuQcAJ9w9KHYuc48aoTPC5sINfmOpZmTlwCfWdbE yWA3lGejy4qcotJ0dZgnkWc= =+D/t -----END PGP SIGNATURE----- --_=XFMail.1.5.0.FreeBSD:20010724234100:2934=_-- End of MIME message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message