[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Making use of argp in GRUB utilities

From: Lubomir Kundrak
Subject: [PATCH] Making use of argp in GRUB utilities
Date: Thu, 25 Jan 2007 12:25:31 +0100


I've noticed, that GRUB 2 uses argp in grub-emu [1], whereas other
utilities use getopt_long [2]. Wouldn't it be nice to make this


I find the "GNU way," argp, approach more elegant, as demonstrated by a
patch to util/i386/pc/grub-mkimage.c. Seeing a patch with more minuses
than pluses is a good sign, indeed.

The main argument against agrp framework could be, that non-GNU C
libraries do not contain with it. There's a standalone libargp package
[3] that is available for package systems of all major operating
systems, including NetBSD and FreeBSD, so the only disadvantage is
addding a dependency there.


Lubomir Kundrak (Red Hat Security Response Team)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]