Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HAW2C-0004Jc-ET for mharc-grub-devel@gnu.org; Fri, 26 Jan 2007 13:42:48 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HAW2A-0004Ix-Gz for grub-devel@gnu.org; Fri, 26 Jan 2007 13:42:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HAW28-0004Hm-IG for grub-devel@gnu.org; Fri, 26 Jan 2007 13:42:45 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HAW28-0004HS-6A for grub-devel@gnu.org; Fri, 26 Jan 2007 13:42:44 -0500 Received: from [212.85.152.101] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HAW27-0003pr-N0 for grub-devel@gnu.org; Fri, 26 Jan 2007 13:42:43 -0500 Received: from kotoba.oasis.nexedi.com (kotoba.oasis.nexedi.com [212.85.152.101]) by kotoba.storever.com (Postfix) with ESMTP id 943383CD80E19 for ; Fri, 26 Jan 2007 22:59:15 +0100 (CET) Received: from [??1] (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 6F67E3CD80E17 for ; Fri, 26 Jan 2007 22:59:15 +0100 (CET) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Fri, 26 Jan 2007 19:42:41 +0100 User-Agent: KMail/1.8.2 References: <1169724331.3386.51.camel@pluto> <1169813855.3386.78.camel@pluto> <871wlh6aid.fsf@xs4all.nl> In-Reply-To: <871wlh6aid.fsf@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701261942.42073.okuji@enbug.org> X-Bogosity: No, tests=bogofilter, spamicity=0.002140, version=0.17.2 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: [PATCH] Making use of argp in GRUB utilities X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jan 2007 18:42:46 -0000 On Friday 26 January 2007 17:03, Marco Gerards wrote: > Lubomir Kundrak writes: > >> I preferred that libargp would be included in our source tree so that it > >> would be used when argp is not found in a system, but I guess Marco > >> hasn't done it yet. This depends on which is more convenient for users, > >> using an external shared library, or using our own. In GRUB Legacy, I > >> included getopt for *BSD, and I got positive answers. So I feel that it > >> would be better to include. > > > > Sound reasonable. Would it be of any use if I converted other utils to > > make use of argp in my spare time? > > It seems either that Okuji doesn't care or doesn't know yet. I > personally prefer argp because it is easy to use, flexible and less > work to maintain. And like you said, less code... less code normally > means less bugs. > > So it depends on Okuji what to do. If he doesn't care I would be > happy with such a patch. I don't know. I agree that using a single library for the same goal is more consistent. However, I am so used to getopt, and I have no problem with it. Thus I am not eager to migrate to argp in particular, although I do not object to using argp. (In my whole life, I have used argp only once for Hurd.) Okuji