[1976] 2009-02-07 Michael Scherer <[email protected]>

Robert Millan <[email protected]>
Newsgroups gmane.comp.boot-loaders.grub.cvs
Message-ID <[email protected]>
Revision: 1976
          http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1976
Author:   robertmh
Date:     2009-02-07 20:57:23 +0000 (Sat, 07 Feb 2009)

Log Message:
-----------
2009-02-07  Michael Scherer <[email protected]>

        * fs/hfs.c (grub_hfsplus_iterate_dir): Treat hfs+ as case insensitive.

Modified Paths:
--------------
    trunk/grub2/ChangeLog
    trunk/grub2/fs/hfsplus.c

Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog	2009-02-07 20:55:48 UTC (rev 1975)
+++ trunk/grub2/ChangeLog	2009-02-07 20:57:23 UTC (rev 1976)
@@ -1,3 +1,7 @@
+2009-02-07  Michael Scherer <[email protected]>
+
+	* fs/hfs.c (grub_hfsplus_iterate_dir): Treat hfs+ as case insensitive.
+
 2009-02-07  Robert Millan  <[email protected]>
 
 	* conf/common.rmk (grub_probe_SOURCES, grub_fstest_SOURCES): Move

Modified: trunk/grub2/fs/hfsplus.c
===================================================================
--- trunk/grub2/fs/hfsplus.c	2009-02-07 20:55:48 UTC (rev 1975)
+++ trunk/grub2/fs/hfsplus.c	2009-02-07 20:57:23 UTC (rev 1976)
@@ -767,6 +767,9 @@
       for (i = 0; i < grub_be_to_cpu16 (catkey->namelen); i++)
 	catkey->name[i] = grub_be_to_cpu16 (catkey->name[i]);
 
+      /* hfs+ is case insensitive.  */
+      type |= GRUB_FSHELP_CASE_INSENSITIVE;
+
       /* Only accept valid nodes.  */
       if (grub_strlen (filename) == grub_be_to_cpu16 (catkey->namelen))
 	{
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.