From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with archive (Exim 4.30) id 1B5Xcr-000405-Bh for mharc-grub-devel@gnu.org; Mon, 22 Mar 2004 17:10:29 -0500 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B5XX1-0002yP-J7 for grub-devel@gnu.org; Mon, 22 Mar 2004 17:04:27 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B5XVV-0002Pi-Ob for grub-devel@gnu.org; Mon, 22 Mar 2004 17:03:25 -0500 Received: from [213.147.57.66] (helo=mail.ciam.ru) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1B5XVV-0002Nm-4d for grub-devel@gnu.org; Mon, 22 Mar 2004 17:02:53 -0500 Received: from ppp8-10.pppoe.mtu-net.ru ([81.195.8.10] helo=ciam.ru) by mail.ciam.ru with esmtp (Exim 4.x) id 1B5XVO-000BXt-7Q for grub-devel@gnu.org; Tue, 23 Mar 2004 01:02:46 +0300 Message-ID: <405F6297.3030205@ciam.ru> Date: Tue, 23 Mar 2004 01:03:03 +0300 From: Sergey Matveychuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: The development of GRUB 2 References: <40595AA3.6000800@ciam.ru> <200403211711.52377.okuji@enbug.org> <405EA1DD.7030606@ciam.ru> <200403221449.41600.okuji@enbug.org> In-Reply-To: <200403221449.41600.okuji@enbug.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: GRUB2: *BSD and more patch X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.4 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: Mon, 22 Mar 2004 22:10:27 -0000 Yoshinori K. Okuji wrote: > So, regardless of your OS, let's use: > > if (S_ISREG (st.st_mode)) > return make_device_name (drive, -1, -1); > > The same applies to other places where S_ISBLK is used. Oh. I'm sorry. I've just s/S_ISBLK/S_ISREG/. I need to sleep. I'll fix it with my next patch. :( -- Sem.