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 2009-02-07 20:57:23 +00:00
parent 0bb5115e67
commit cea15bca5b
2 changed files with 7 additions and 0 deletions

View File

@ -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

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))
{