2009-02-07 Michael Scherer <misc@mandriva.org>

* fs/hfs.c (grub_hfsplus_iterate_dir): Treat hfs+ as case insensitive.
This commit is contained in:
robertmh committed 2009-02-07 20:57:23 +00:00
1 parent 0bb5115e67
commit cea15bca5b
2 files changed
+7

No files matched your search

+3
View 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))
{