From: robertmh Date: Sat, 7 Feb 2009 20:57:23 +0000 (+0000) Subject: 2009-02-07 Michael Scherer X-Git-Tag: 1.98~1144 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cea15bca5bd276640d195a243db0e5db5a895f11;p=thirdparty%2Fgrub.git 2009-02-07 Michael Scherer * fs/hfs.c (grub_hfsplus_iterate_dir): Treat hfs+ as case insensitive. --- 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)) {