Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IFqdj-0002uY-IU for mharc-grub-devel@gnu.org; Tue, 31 Jul 2007 08:15:51 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IFqdi-0002uJ-1h for grub-devel@gnu.org; Tue, 31 Jul 2007 08:15:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IFqdg-0002tz-Mg for grub-devel@gnu.org; Tue, 31 Jul 2007 08:15:49 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IFqdg-0002tv-EI for grub-devel@gnu.org; Tue, 31 Jul 2007 08:15:48 -0400 Received: from smtp-vbr1.xs4all.nl ([194.109.24.21]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IFqdg-0004Px-0p for grub-devel@gnu.org; Tue, 31 Jul 2007 08:15:48 -0400 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id l6VCFkWJ069338 for ; Tue, 31 Jul 2007 14:15:47 +0200 (CEST) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <87y7gwg7w6.fsf@xs4all.nl> Mail-Copies-To: mgerards@xs4all.nl Date: Tue, 31 Jul 2007 14:17:43 +0200 In-Reply-To: (bean123ch@gmail.com's message of "Tue, 31 Jul 2007 20:00:06 +0800") Message-ID: <87k5sgg42g.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: FreeBSD 4.6-4.9 Subject: Re: Problem with the blocklist command 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: Tue, 31 Jul 2007 12:15:50 -0000 Bean writes: > On 7/31/07, Marco Gerards wrote: >> This is most likely the regparam bug. I wrote a macro to work around >> this bug (NESTED_FUNC_ATTR). See, for example, how this is used in >> fshelp.[ch]. Most likely the same has to be done for the read_hook. >> When you do this, the problem will disappear. I could fix this for >> you, if you do not exactly understand what I mean... >> >> We should at some point check if other hooks have the same problem. > > Yes, you're right, after adding the NESTED_FUNC_ATTR macro, it finally > get the correct result. But there is a lot of place where modification > is needed, including disk.h and file.h. Yes, I was afraid of that... Can you make a patch+changelog of this so it can be fixed in CVS? -- Marco