* PATCH: silently accept empty lines in rescue mode
@ 2008-01-29 5:26 Tristan Gingold
2008-01-29 8:26 ` Marco Gerards
0 siblings, 1 reply; 4+ messages in thread
From: Tristan Gingold @ 2008-01-29 5:26 UTC (permalink / raw)
To: grub-devel
[-- Attachment #1: Type: text/plain, Size: 45 bytes --]
Hi,
extracted from my IA64 patch.
Tristan.
[-- Attachment #2: grub-rescue.diff --]
[-- Type: text/plain, Size: 559 bytes --]
2008-01-28 Tristan Gingold <gingold@free.fr>
* kern/rescue.c: Silently accept empty lines.
diff -ruNp -x '*~' -x CVS grub2.orig/kern/rescue.c grub2/kern/rescue.c
--- grub2.orig/kern/rescue.c 2007-09-03 22:28:23.000000000 +0200
+++ grub2/kern/rescue.c 2008-01-28 16:29:58.000000000 +0100
@@ -659,6 +659,8 @@ grub_enter_rescue_mode (void)
/* Get a command line. */
grub_rescue_get_command_line ("grub rescue> ");
+ if (line[0] == 0)
+ continue;
if (grub_parser_split_cmdline (line, getline, &n, &args) || n < 0)
continue;
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PATCH: silently accept empty lines in rescue mode
2008-01-29 5:26 PATCH: silently accept empty lines in rescue mode Tristan Gingold
@ 2008-01-29 8:26 ` Marco Gerards
2008-01-30 5:50 ` Tristan Gingold
0 siblings, 1 reply; 4+ messages in thread
From: Marco Gerards @ 2008-01-29 8:26 UTC (permalink / raw)
To: The development of GRUB 2
Tristan Gingold <tgingold@free.fr> writes:
Hi,
> extracted from my IA64 patch.
>
> Tristan.
>
> 2008-01-28 Tristan Gingold <gingold@free.fr>
>
> * kern/rescue.c: Silently accept empty lines.
What did it print?
This can be applied.
--
Marco
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PATCH: silently accept empty lines in rescue mode
2008-01-29 8:26 ` Marco Gerards
@ 2008-01-30 5:50 ` Tristan Gingold
2008-01-30 14:41 ` Robert Millan
0 siblings, 1 reply; 4+ messages in thread
From: Tristan Gingold @ 2008-01-30 5:50 UTC (permalink / raw)
To: The development of GRUB 2
On Tue, Jan 29, 2008 at 09:26:16AM +0100, Marco Gerards wrote:
> Tristan Gingold <tgingold@free.fr> writes:
> What did it print?
Nothing. Typing enter at the prompt simply print a new prompt. Like bash.
> This can be applied.
I don't have commit rights, so I can't apply it.
Tristan.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: PATCH: silently accept empty lines in rescue mode
2008-01-30 5:50 ` Tristan Gingold
@ 2008-01-30 14:41 ` Robert Millan
0 siblings, 0 replies; 4+ messages in thread
From: Robert Millan @ 2008-01-30 14:41 UTC (permalink / raw)
To: The development of GRUB 2
On Wed, Jan 30, 2008 at 06:50:02AM +0100, Tristan Gingold wrote:
> > This can be applied.
>
> I don't have commit rights, so I can't apply it.
Committed.
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-01-30 14:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-29 5:26 PATCH: silently accept empty lines in rescue mode Tristan Gingold
2008-01-29 8:26 ` Marco Gerards
2008-01-30 5:50 ` Tristan Gingold
2008-01-30 14:41 ` Robert Millan
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.