From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1FchaL-00084k-PV for mharc-grub-devel@gnu.org; Sun, 07 May 2006 07:38:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FchaK-00084e-6E for grub-devel@gnu.org; Sun, 07 May 2006 07:38:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FchaI-00084S-Hf for grub-devel@gnu.org; Sun, 07 May 2006 07:37:59 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FchaI-00084P-Cb for grub-devel@gnu.org; Sun, 07 May 2006 07:37:58 -0400 Received: from [194.109.24.24] (helo=smtp-vbr4.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fchat-0001hO-9l for grub-devel@gnu.org; Sun, 07 May 2006 07:38:35 -0400 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr4.xs4all.nl (8.13.6/8.13.6) with ESMTP id k47Bbuit031097 for ; Sun, 7 May 2006 13:37:57 +0200 (CEST) (envelope-from mgerards@xs4all.nl) Mail-Copies-To: mgerards@xs4all.nl To: The development of GRUB 2 References: <200605070742.15975.okuji@enbug.org> From: Marco Gerards Date: Sun, 07 May 2006 13:40:05 +0200 In-Reply-To: <200605070742.15975.okuji@enbug.org> (Yoshinori K. Okuji's message of "Sun, 7 May 2006 07:42:15 +0200") Message-ID: <87lktenjvu.fsf@xs4all.nl> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: script bug 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: Sun, 07 May 2006 11:38:00 -0000 "Yoshinori K. Okuji" writes: > Try something like this: > > @ "extremely long long > line............................................................." { > } > > grub-emu segfaults. This is partially because of the menu code, partilaly > because of the scripting engine code. The menu code currently limits the max > number of characters per line to 100 (very bad). So get_line chops the line, > then the scripting engine cannot deal with the malformed line. Both must be > fixed. Yeah, the get_line was broken from the beginning... I think it should be even possible to remove this function because we do not really need it. As for scripting, I will test it in about two weeks. At the moment I have very little time. :-/ -- Marco