Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1IteMj-0005A7-3b for mharc-grub-devel@gnu.org; Sun, 18 Nov 2007 02:14:49 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IteMg-00056L-So for grub-devel@gnu.org; Sun, 18 Nov 2007 02:14:46 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IteMg-00055i-Jb for grub-devel@gnu.org; Sun, 18 Nov 2007 02:14:46 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IteMg-00055P-B5 for grub-devel@gnu.org; Sun, 18 Nov 2007 02:14:46 -0500 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IteMg-0003L3-9K for grub-devel@gnu.org; Sun, 18 Nov 2007 02:14:46 -0500 Received: from [192.168.10.6] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1IteMe-0005Hy-Rl for grub-devel@gnu.org; Sun, 18 Nov 2007 08:14:45 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1IteMO-00013Y-6y for grub-devel@gnu.org; Sun, 18 Nov 2007 08:14:28 +0100 Date: Sun, 18 Nov 2007 08:14:27 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20071118071427.GB3747@thorin> References: <471E5075.9090309@t-online.de> <472B8FA5.5030400@t-online.de> <874pfvmpta.fsf@xs4all.nl> <4734CBEB.7080500@t-online.de> <87ve8agk9n.fsf@xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ve8agk9n.fsf@xs4all.nl> Organization: free as in freedom X-Message-Flag: Microsoft discourages use of Outlook. X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [PATCH] Allow build without dirent.d_type, fix "ls (host)" crash 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, 18 Nov 2007 07:14:47 -0000 On Sat, Nov 10, 2007 at 05:03:48PM +0100, Marco Gerards wrote: > > > > 2007-11-09 Christian Franke > > > > * util/hostfs.c (is_dir): New function. > > (grub_hostfs_dir): Handle missing dirent.d_type case. > > (grub_hostfs_read): Add missing fseek(). > > (grub_hostfs_label): Clear label pointer. This fixes a crash > > of grub-emu on "ls (host)". > > Looks fine to me. Committed. -- Robert Millan I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (as seen on /.)