Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MjRVv-0005yg-Ku for mharc-grub-devel@gnu.org; Fri, 04 Sep 2009 01:39:11 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MjRVr-0005wi-UM for grub-devel@gnu.org; Fri, 04 Sep 2009 01:39:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MjRVm-0005th-Ss for grub-devel@gnu.org; Fri, 04 Sep 2009 01:39:06 -0400 Received: from [199.232.76.173] (port=50912 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjRVm-0005so-6y for grub-devel@gnu.org; Fri, 04 Sep 2009 01:39:02 -0400 Received: from mail-pz0-f175.google.com ([209.85.222.175]:62690) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MjRVk-0000KY-PD for grub-devel@gnu.org; Fri, 04 Sep 2009 01:39:01 -0400 Received: by pzk5 with SMTP id 5so440375pzk.10 for ; Thu, 03 Sep 2009 22:38:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=IyfgpYv95eV98Hg4roup6G6h3RJU3cn0dT1DoKx4Wdw=; b=hbAtMCSJEJi10QSMwPOY+OBlFokIBZdTP2j6wsoxoCko0jRHWmHgA2YgKnQG70UtAu mohWIBf9s55vA7/oYeMMb1fEbDaAQ355C8YlqVELD5BygsF5n6MRtY9f+okFXaPZwPws tBwV80REuXzu0K/49g07DioZ443UqDM3U1w5k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=i+GbtG1YWYF6fARNjdvngp2Sc9/gf8PEs5M9QJerkaxYR5WfG2BYMf0JeThltht+XB HLfxQ26WzYMJH7HcV1NVyTWKoeToK9JajtKo7lxVkteo/6/ylkjdP+jEad0LjQwMfHq7 wXR3nneHNmlA3nRqyJRh5McEqbmZn/9Nsn5uc= MIME-Version: 1.0 Received: by 10.140.132.13 with SMTP id f13mr2948483rvd.124.1252042738858; Thu, 03 Sep 2009 22:38:58 -0700 (PDT) In-Reply-To: References: Date: Fri, 4 Sep 2009 13:38:58 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [PATCH] Bug fix for loadenv.c X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 05:39:09 -0000 On Fri, Sep 4, 2009 at 4:41 AM, Vladimir 'phcoder' Serbinenko wrote: > On Thu, Sep 3, 2009 at 9:20 PM, Bean wrote: >> Hi, >> >> This is the bug fix for command/loadenv.c. Here is a small program to >> illustrate what happen: > Update your branch: > > 2009-09-01 =A0Vladimir Serbinenko =A0 > > =A0 =A0 =A0 =A0* commands/loadenv.c (check_blocklists): Fix off-by-one er= ror. > =A0 =A0 =A0 =A0(write_blocklists): Likewise. Hi, Oh sorry, I miss that one, sync with cvs now. But then I'm a little confused, if you have found the bug, then you should already know this is not gcc's fault, why would you suggest to bump up gcc's version to 4.2 ? --=20 Bean gitgrub home: http://github.com/grub/grub/ my fork page: http://github.com/bean123/grub/