From cea15bca5bd276640d195a243db0e5db5a895f11 Mon Sep 17 00:00:00 2001 From: robertmh Date: Sat, 7 Feb 2009 20:57:23 +0000 Subject: [PATCH] 2009-02-07 Michael Scherer * fs/hfs.c (grub_hfsplus_iterate_dir): Treat hfs+ as case insensitive. --- ChangeLog | 4 ++++ fs/hfsplus.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 4361b101c..3514812d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-02-07 Michael Scherer + + * fs/hfs.c (grub_hfsplus_iterate_dir): Treat hfs+ as case insensitive. + 2009-02-07 Robert Millan * conf/common.rmk (grub_probe_SOURCES, grub_fstest_SOURCES): Move diff --git a/fs/hfsplus.c b/fs/hfsplus.c index e6493ce03..7022f9897 100644 --- a/fs/hfsplus.c +++ b/fs/hfsplus.c @@ -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)) {