Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OeAeD-0004ZQ-J6 for mharc-grub-devel@gnu.org; Wed, 28 Jul 2010 13:42:29 -0400 Received: from [140.186.70.92] (port=54788 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OeAeB-0004ZL-NM for grub-devel@gnu.org; Wed, 28 Jul 2010 13:42:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OeAe8-0000MH-0z for grub-devel@gnu.org; Wed, 28 Jul 2010 13:42:27 -0400 Received: from caffeine.csclub.uwaterloo.ca ([129.97.134.17]:32885) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OeAe7-0000M5-Sn for grub-devel@gnu.org; Wed, 28 Jul 2010 13:42:23 -0400 Received: from caffeine.csclub.uwaterloo.ca (localhost [127.0.0.1]) by caffeine.csclub.uwaterloo.ca (Postfix) with ESMTP id C09C874C4 for ; Wed, 28 Jul 2010 13:42:22 -0400 (EDT) Received: by caffeine.csclub.uwaterloo.ca (Postfix, from userid 20367) id D03037E59; Wed, 28 Jul 2010 13:42:19 -0400 (EDT) Date: Wed, 28 Jul 2010 13:42:19 -0400 To: The development of GNU GRUB Message-ID: <20100728174219.GI2632@caffeine.csclub.uwaterloo.ca> References: <4C4E2FC5.10607@gmail.com> <20100727152625.GX2632@caffeine.csclub.uwaterloo.ca> <4C4FEF8C.5060200@gmail.com> <20100728150037.GC2632@caffeine.csclub.uwaterloo.ca> <20100728155158.GE2632@caffeine.csclub.uwaterloo.ca> <4C505B37.2020009@gmail.com> <20100728170155.GG2632@caffeine.csclub.uwaterloo.ca> <4C5064F0.6000501@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C5064F0.6000501@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen) X-Virus-Scanned: ClamAV using ClamSMTP X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: Big Endian fix patch X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2010 17:42:28 -0000 On Wed, Jul 28, 2010 at 01:12:16PM -0400, Doug Nazar wrote: > On 2010-07-28 1:01 PM, Lennart Sorensen wrote: >> Well I don't think that helped (unless I messed up the compile). >> > > The following works for me. Just finished testing it. Damn these 15 > minute boot times. > > Doug > > === modified file 'normal/completion.c' > --- normal/completion.c 2010-06-11 20:31:16 +0000 > +++ normal/completion.c 2010-07-28 17:02:42 +0000 > @@ -247,7 +247,7 @@ > goto fail; > } > > - dir = grub_strchr (current_word, '/'); > + dir = grub_strchr (current_word + grub_strlen(device) + 2, '/'); > last_dir = grub_strrchr (current_word, '/'); > if (dir) > { > I wish the completion would realize that an md device without partitions (so no partition table) should not complete with a ','. Not sure how doable that is. -- Len Sorensen