From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LWWzg-0006De-Hb for mharc-grub-devel@gnu.org; Mon, 09 Feb 2009 09:20:16 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWWze-0006DV-5F for grub-devel@gnu.org; Mon, 09 Feb 2009 09:20:14 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWWzc-0006Cx-D2 for grub-devel@gnu.org; Mon, 09 Feb 2009 09:20:12 -0500 Received: from [199.232.76.173] (port=40229 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWWzc-0006Cu-9y for grub-devel@gnu.org; Mon, 09 Feb 2009 09:20:12 -0500 Received: from aybabtu.com ([69.60.117.155]:35258) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LWWzb-0001iL-UT for grub-devel@gnu.org; Mon, 09 Feb 2009 09:20:12 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1LWWuF-0001Ug-8c; Mon, 09 Feb 2009 15:14:39 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1LWWz6-0001IQ-Gx; Mon, 09 Feb 2009 15:19:40 +0100 Date: Mon, 9 Feb 2009 15:19:40 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090209141940.GA4841@thorin> References: <1233040781.5108.98.camel@thor.local> <20090207194859.GC988@thorin> <20090207233836.1yh2s7te1ccgo0wc-cebfxv@webmail.spamcop.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20090207233836.1yh2s7te1ccgo0wc-cebfxv@webmail.spamcop.net> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Michel =?utf-8?Q?D=C3=A4nzer?= Subject: Re: hfs patch (Re: State of GRUB on PowerPC) 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: Mon, 09 Feb 2009 14:20:14 -0000 On Sat, Feb 07, 2009 at 11:38:36PM -0500, Pavel Roskin wrote: > Quoting Robert Millan : > > >On Tue, Jan 27, 2009 at 08:19:41AM +0100, Michel Dänzer wrote: > >>+/* > >>+ * unsigned char caseorder[] > >>+ * > >>+ * Defines the lexical ordering of characters on the Macintosh > >>+ * > >>+ * Composition of the 'casefold' and 'order' tables from ARDI's code > >>+ * with the entry for 0x20 changed to match that for 0xCA to remove > >>+ * special case for those two characters. > >>+ */ > >>+static unsigned char caseorder[256] = { > >>+ > >>0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, > > > >Could you be more specific about what the table contents mean? > > Michel may know better, but I think it's the order of characters. > Those with the lower order go first in the sorted binary tree. Those > with the same order are equivalent on the filesystem level. That is, > "foo" can only be between "bar" and "quux" in the node tree. "foo" > and "Foo" are the same tree node and thus the same file. I think what we need here is enough information so that someone can understand what the table means and be able to modify it if need arised. An undocumented table just looks like a "blob" of binary data. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."