From owner-freebsd-arch Sun Dec 23 1:46: 6 2001 Delivered-To: freebsd-arch@freebsd.org Received: from titanic.uninet.kiev.ua (titanic.uninet.kiev.ua [193.125.78.35]) by hub.freebsd.org (Postfix) with ESMTP id 09BF637B419; Sun, 23 Dec 2001 01:46:00 -0800 (PST) Received: (from uucp@localhost) by titanic.uninet.kiev.ua (8.11.1/8.11.1) with UUCP id fBN9jvl15250; Sun, 23 Dec 2001 11:45:57 +0200 (EET) (envelope-from ura@sphinx.univ.kiev.ua) Received: by sphinx.univ.kiev.ua (Postfix, from userid 1001) id D5F4159201; Sun, 23 Dec 2001 11:44:07 +0200 (EET) Date: Sun, 23 Dec 2001 11:44:07 +0200 From: Yuri Karaban To: Kris Kennaway Cc: freebsd-arch@freebsd.org Subject: Re: gnu getopt in libc Message-ID: <20011223094407.GA31337@sphinx.univ.kiev.ua> References: <20011222132030.GA19596@sphinx.univ.kiev.ua> <20011222201930.B9DEF38CC@overcee.netplex.com.au> <20011222212453.A91247@citusc17.usc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011222212453.A91247@citusc17.usc.edu> User-Agent: Mutt/1.3.24i 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 > > > so why dont replace libc/stdlib/getopt.c by gnu version ? > > > > 1) because it is nonstandard > > 2) it is GPL contaminated which we cannot use in libc. > > 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 ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message