All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Gerards <mgerards@xs4all.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] Use getopt_long() instead of argp_parse() in grub-emu
Date: Sun, 13 Jan 2008 18:52:53 +0100	[thread overview]
Message-ID: <87fxx1hatm.fsf@xs4all.nl> (raw)
In-Reply-To: <4735CDA9.4060501@t-online.de> (Christian Franke's message of "Sat, 10 Nov 2007 16:26:33 +0100")

Christian Franke <Christian.Franke@t-online.de> writes:

> Unlike the other GRUB2 utils, grub-emu uses the glibc extension
> argp_parse(). It is unavailable on Cygwin, which might also be the
> case for other platforms where glibc is not the native runtime.
>
> This patch changes this back to the more traditional getopt_long().
>
> It also fixes the syntax of the path prefix.

There where no objections, so I'll review this patch as promised.

How did you change the path syntax?

> 2007-11-10  Christian Franke  <franke@computer.org>
>
> 	* util/grub-emu.c: Replace argp.h by getopt.h.

Please use <argp.h> and <getopt.h> to show where it comes from.

> 	(parse_opt): Remove.

You also modified options, removed struct arguments, argp and perhaps
other things I missed.  You should document them properly in the
changelog entry.

> 	(usage): New function.
> 	(main): Replace argp_parse() by getopt_long().
> 	Rename argument variables accordingly.
> 	Add missing "(...)" for root_dev in prefix.

--
Marco




  parent reply	other threads:[~2008-01-13 17:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-10 15:26 [PATCH] Use getopt_long() instead of argp_parse() in grub-emu Christian Franke
2007-11-10 16:56 ` Marco Gerards
2007-11-10 21:45   ` Christian Franke
2007-11-18 11:04     ` Marco Gerards
2007-11-18 18:16       ` Christian Franke
2008-01-13 17:52 ` Marco Gerards [this message]
2008-01-14 21:37   ` Christian Franke
2008-01-15 11:13     ` Marco Gerards
2008-01-15 11:49       ` Robert Millan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fxx1hatm.fsf@xs4all.nl \
    --to=mgerards@xs4all.nl \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.