From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MU6Hr-0006S1-4K for mharc-grub-devel@gnu.org; Thu, 23 Jul 2009 17:57:15 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MU6Ho-0006Rm-HJ for grub-devel@gnu.org; Thu, 23 Jul 2009 17:57:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MU6Hk-0006R6-0T for grub-devel@gnu.org; Thu, 23 Jul 2009 17:57:12 -0400 Received: from [199.232.76.173] (port=53313 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MU6Hj-0006R0-TL for grub-devel@gnu.org; Thu, 23 Jul 2009 17:57:07 -0400 Received: from c60.cesmail.net ([216.154.195.49]:4402) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1MU6Hj-0002PY-Cb for grub-devel@gnu.org; Thu, 23 Jul 2009 17:57:07 -0400 Received: from unknown (HELO smtprelay2.cesmail.net) ([192.168.1.112]) by c60.cesmail.net with ESMTP; 23 Jul 2009 17:57:06 -0400 Received: from [192.168.0.22] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by smtprelay2.cesmail.net (Postfix) with ESMTPSA id AB78634C6A for ; Thu, 23 Jul 2009 18:07:49 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: References: Content-Type: text/plain Date: Thu, 23 Jul 2009 17:57:04 -0400 Message-Id: <1248386224.2661.118.camel@mj> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 (2.26.3-1.fc11) Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: [BUGFIX] Don't use DT_DIR: It doesn't work on non-ext* filesystems 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: Thu, 23 Jul 2009 21:57:13 -0000 On Thu, 2009-07-23 at 11:29 +0200, Vladimir 'phcoder' Serbinenko wrote: > -#ifdef DT_DIR > - info.dir = (de->d_type == DT_DIR); > -#else > info.dir = !! is_dir (path, de->d_name); > -#endif Fine with me. Finally a patch that reduces the number of preprocessor directives :-) -- Regards, Pavel Roskin