From: Robert Millan <rmh@aybabtu.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: [PATCH] Re: Bug in read_handler_list (autoloading) ???
Date: Thu, 12 Nov 2009 21:51:09 +0100 [thread overview]
Message-ID: <20091112205109.GA32586@thorin> (raw)
In-Reply-To: <1258058194.4779.6.camel@fz.local>
Nice work.
On Thu, Nov 12, 2009 at 09:36:34PM +0100, Felix Zielcke wrote:
> /* Override previous handler.lst. */
> - while (grub_handler_class_list)
> + for (; hc ; hc = hcnext)
> {
> - grub_handler_class_t tmp;
> - tmp = grub_handler_class_list->next;
> - grub_free (grub_handler_class_list);
> - grub_handler_class_list = tmp;
> + hcnext = hc->next;
> + hl = hc->handler_list;
> + while (hl)
> + {
> + grub_handler_t tmp = hl->next;
> + if (grub_strcmp (hl->name, "rescue") != 0
> + && grub_strcmp (hl->name, "console") != 0)
Could you add a comment here explaining why these are skipped?
The rest is OK as far as I'm concerned.
--
Robert Millan
The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
how) you may access your data; but nobody's threatening your freedom: we
still allow you to remove your data and not access it at all."
next prev parent reply other threads:[~2009-11-12 20:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-11 4:00 Bug in read_handler_list (autoloading) ??? BVK
2009-11-12 16:16 ` BVK
2009-11-12 20:36 ` [PATCH] " Felix Zielcke
2009-11-12 20:51 ` Robert Millan [this message]
2009-11-13 22:43 ` Vladimir 'phcoder' Serbinenko
2009-11-14 15:35 ` Robert Millan
2009-11-14 21:11 ` Felix Zielcke
2009-11-15 11:10 ` Robert Millan
2010-01-07 18:48 ` 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=20091112205109.GA32586@thorin \
--to=rmh@aybabtu.com \
--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.