]> git.ipfire.org Git - thirdparty/grub.git/commit
Make HFS implementation use MacRoman.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 24 Dec 2011 19:20:41 +0000 (20:20 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 24 Dec 2011 19:20:41 +0000 (20:20 +0100)
commit74bbf0dbae0564c1cd7dfd13185e71ea60337f81
treee6c0ff108f6aa6d54c5fa5f4e4166035443fced7
parent4ea0316e67c251d4ff904db5e30c5079ce8fb5ac
Make HFS implementation use MacRoman.

* grub-core/fs/hfs.c (MAX_UTF8_PER_MAC_ROMAN): New define.
(macroman): New const array.
(macroman_to_utf8): New function.
(utf8_to_macroman): Likewise.
(grub_hfs_find_dir): Use utf8_to_macroman.
(grub_hfs_dir): Use macroman_to_utf8.
Set case_insensitive.
ChangeLog
grub-core/fs/hfs.c