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:
parent
0bb5115e67
commit
cea15bca5b
2 changed files with 7 additions and 0 deletions
|
@ -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>
|
2009-02-07 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
* conf/common.rmk (grub_probe_SOURCES, grub_fstest_SOURCES): Move
|
* conf/common.rmk (grub_probe_SOURCES, grub_fstest_SOURCES): Move
|
||||||
|
|
|
@ -767,6 +767,9 @@ grub_hfsplus_iterate_dir (grub_fshelp_node_t dir,
|
||||||
for (i = 0; i < grub_be_to_cpu16 (catkey->namelen); i++)
|
for (i = 0; i < grub_be_to_cpu16 (catkey->namelen); i++)
|
||||||
catkey->name[i] = grub_be_to_cpu16 (catkey->name[i]);
|
catkey->name[i] = grub_be_to_cpu16 (catkey->name[i]);
|
||||||
|
|
||||||
|
/* hfs+ is case insensitive. */
|
||||||
|
type |= GRUB_FSHELP_CASE_INSENSITIVE;
|
||||||
|
|
||||||
/* Only accept valid nodes. */
|
/* Only accept valid nodes. */
|
||||||
if (grub_strlen (filename) == grub_be_to_cpu16 (catkey->namelen))
|
if (grub_strlen (filename) == grub_be_to_cpu16 (catkey->namelen))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue