From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LiEDe-0005Fu-6R for mharc-grub-devel@gnu.org; Fri, 13 Mar 2009 16:43:02 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LiEDb-0005Ba-Rw for grub-devel@gnu.org; Fri, 13 Mar 2009 16:42:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LiEDW-00051x-PN for grub-devel@gnu.org; Fri, 13 Mar 2009 16:42:58 -0400 Received: from [199.232.76.173] (port=49859 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LiEDW-00051p-Hs for grub-devel@gnu.org; Fri, 13 Mar 2009 16:42:54 -0400 Received: from mail-bw0-f172.google.com ([209.85.218.172]:46751) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LiEDW-0001pI-4H for grub-devel@gnu.org; Fri, 13 Mar 2009 16:42:54 -0400 Received: by bwz20 with SMTP id 20so2866941bwz.42 for ; Fri, 13 Mar 2009 13:42:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=0oKQHqEz6zw9h3LFTQQlfr/Ql7/j+yulrx9Y1wCvEXc=; b=pO0rTZNw8HSf6IFNqAv+w+Gvtrvuc08IFPNsfcVstCGd3oqgnNoupQIeoVTcP5Q8rV naqH1aRYMeig/38sWH9wiSfxbYH3n66QSc3R4p6on96txzCvhDWQFd4PslJrupjp7u3i HIQCh1AqzGgI0ZfZkeSNPbjIT9mjBFQwfrOes= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=tLp8S6fAd03qBFEsXNY2R7a1ykBJd40UfgsIIDcZz40LPhu2VgHcw1yolwH7pDhaVt 9Ep2AA1mGRkG8aF5GwhFU+p1ms2rkTYs7vUybgOJcjCDo1UozaW7ZcLYhlCT4ucDgbTQ /BDwf6DnPWUBiHERrS9bEi3Co5XSf8fXpTC+E= Received: by 10.103.171.20 with SMTP id y20mr815729muo.19.1236976972603; Fri, 13 Mar 2009 13:42:52 -0700 (PDT) Received: from ?192.168.1.25? (7.86.202.62.cust.bluewin.ch [62.202.86.7]) by mx.google.com with ESMTPS id y6sm4433917mug.57.2009.03.13.13.42.51 (version=SSLv3 cipher=RC4-MD5); Fri, 13 Mar 2009 13:42:52 -0700 (PDT) Message-ID: <49BAC54A.2060205@gmail.com> Date: Fri, 13 Mar 2009 21:42:50 +0100 From: phcoder User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: The development of GRUB 2 References: <499056F4.6000800@gmail.com> <20090313193241.GF17068@thorin> In-Reply-To: <20090313193241.GF17068@thorin> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Bugfix: directories: not reported as such on case-insensitive fs 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: Fri, 13 Mar 2009 20:43:00 -0000 Robert Millan wrote: > On Mon, Feb 09, 2009 at 05:16:52PM +0100, phcoder wrote: >> - if (filetype == GRUB_FSHELP_DIR) >> + if ((filetype & GRUB_FSHELP_TYPE_MASK) == GRUB_FSHELP_DIR) > > Uhm actually I don't understand why you need a mask for this. filetype is > an enum, which we define ourselves. What's the root of the problem? > The usage of #define GRUB_FSHELP_CASE_INSENSITIVE 0x100 as a flag on filetype -- Regards Vladimir 'phcoder' Serbinenko