grub-devel
[Top][All Lists]
Advanced

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

Re: normal/cmdline bug & patch


From: Tomas Ebenlendr
Subject: Re: normal/cmdline bug & patch
Date: Tue, 15 Jun 2004 13:39:23 +0200
User-agent: Mutt/1.5.6i

patch of patch:

> --- grub2_x/normal/cmdline.c  2004-06-05 00:20:18.000000000 +0200
> +++ grub2_patched/normal/cmdline.c    2004-06-15 13:18:59.000000000 +0200
> @@ -55,8 +55,8 @@
>         for (i = 0; i < delsize; i++)
>           {
>             int pos = hist_end - i;
> -           if (pos > hist_size)
> -             pos -= hist_size;
> +           if (pos < hist_size)
here should be:  if (pos < 0)

> +             pos += hist_size;
>             grub_free (old_hist_lines[pos]);
>           }
>  
-- 
                                 Tomas 'ebi' Ebenlendr
                                 http://get.to/ebik
                                 PF 2004.45509698821





reply via email to

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