]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-02-07 Michael Scherer <misc@mandriva.org>
authorrobertmh <robertmh@localhost>
Sat, 7 Feb 2009 20:57:23 +0000 (20:57 +0000)
committerrobertmh <robertmh@localhost>
Sat, 7 Feb 2009 20:57:23 +0000 (20:57 +0000)
        * fs/hfs.c (grub_hfsplus_iterate_dir): Treat hfs+ as case insensitive.

ChangeLog
fs/hfsplus.c

index 4361b101ce3e6b2bfd4763de5b60b1750d36fa84..3514812d7bbf3771c3e79c8f486b37441bb0259c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-02-07  Michael Scherer <misc@mandriva.org>
+
+       * fs/hfs.c (grub_hfsplus_iterate_dir): Treat hfs+ as case insensitive.
+
 2009-02-07  Robert Millan  <rmh@aybabtu.com>
 
        * conf/common.rmk (grub_probe_SOURCES, grub_fstest_SOURCES): Move
index e6493ce03b2c5168dbc017c1b8c6964ecfef0cba..7022f98972b7b0c832552fc0824a3859808afb77 100644 (file)
@@ -767,6 +767,9 @@ grub_hfsplus_iterate_dir (grub_fshelp_node_t dir,
       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))
        {