From owner-freebsd-arch Sun Dec 23 5:25:28 2001 Delivered-To: freebsd-arch@freebsd.org Received: from citusc17.usc.edu (citusc17.usc.edu [128.125.38.177]) by hub.freebsd.org (Postfix) with ESMTP id 4A7F437B419; Sun, 23 Dec 2001 05:25:22 -0800 (PST) Received: (from kris@localhost) by citusc17.usc.edu (8.11.6/8.11.4) id fBNDP9H99811; Sun, 23 Dec 2001 05:25:09 -0800 (PST) (envelope-from kris) Date: Sun, 23 Dec 2001 05:25:08 -0800 From: Kris Kennaway To: Yuri Karaban Cc: Kris Kennaway , freebsd-arch@FreeBSD.ORG Subject: Re: gnu getopt in libc Message-ID: <20011223052508.A99762@citusc17.usc.edu> References: <20011222132030.GA19596@sphinx.univ.kiev.ua> <20011222201930.B9DEF38CC@overcee.netplex.com.au> <20011222212453.A91247@citusc17.usc.edu> <20011223094407.GA31337@sphinx.univ.kiev.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="AhhlLboLdkugWU4S" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011223094407.GA31337@sphinx.univ.kiev.ua>; from ura@sphinx.univ.kiev.ua on Sun, Dec 23, 2001 at 11:44:07AM +0200 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 --AhhlLboLdkugWU4S Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 23, 2001 at 11:44:07AM +0200, Yuri Karaban wrote: > > > > so why dont replace libc/stdlib/getopt.c by gnu version ? > > >=20 > > > 1) because it is nonstandard > > > 2) it is GPL contaminated which we cannot use in libc. > >=20 > > NetBSD have a BSDL'ed getopt_long() in their libc. It's required for > > GNU tar longopt support in pax(1) - I have an almost complete port of > > both in my tree. > Does the NetBSD getopt support the optional arguments and options reorder= ? I don't know off-hand..I'm not even sure what you mean :) Kris --AhhlLboLdkugWU4S Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8Jds0Wry0BWjoQKURAsFrAKCYe7ar4uldH2juRQM9dHJafj4WjwCg8yth ng74mwhrUjgWpKgsbAZtnHw= =JSPh -----END PGP SIGNATURE----- --AhhlLboLdkugWU4S-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message