On Thu, Oct 20, 2022 at 03:20:58PM -0400, Robbie Harwood wrote:
> Daniel Kiper <dki...@net-space.pl> writes:
>
> > On Wed, Oct 19, 2022 at 02:50:00PM -0400, Robbie Harwood wrote:
> >
> >> diff --git a/grub-core/kern/emu/misc.c b/grub-core/kern/emu/misc.c
> >> index d0e7a107e7..521220b49d 100644
> >> --- a/grub-core/kern/emu/misc.c
> >> +++ b/grub-core/kern/emu/misc.c
> >> @@ -39,6 +39,7 @@
> >>  #include <grub/emu/misc.h>
> >>
> >>  int verbosity;
> >> +int kexecute;
> >
> > We have bool type now so I would use it here. Or at least try it does
> > not break other builds... :-)
>
> As written, it's not actually a boolean... it keeps track of how many
> times the flag has been passed, and that's how the "pass twice" behavior
> is implemented.

Ugh... Sorry, somehow I completely forgot about that thing.
Please ignore this comment then.

Daniel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to