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.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-12-24 20:20:41 +01:00
parent 4ea0316e67
commit 74bbf0dbae
2 changed files with 208 additions and 4 deletions

View file

@ -1,3 +1,15 @@
2011-12-24 Vladimir Serbinenko <phcoder@gmail.com>
Make HFS implementation to 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.
2011-12-24 Vladimir Serbinenko <phcoder@gmail.com>
* docs/grub.texi (Filesystems): Add IEEE1275 full-path example.