Add a wrapper for fopen. On unix-like systems just pass-through. On
windows use unicode version.
This commit is contained in:
parent
ae5540d3d4
commit
bb338aaf24
27 changed files with 97 additions and 41 deletions
|
@ -109,7 +109,7 @@ grub_hostfs_open (struct grub_file *file, const char *name)
|
|||
FILE *f;
|
||||
struct grub_hostfs_data *data;
|
||||
|
||||
f = fopen (name, "rb");
|
||||
f = grub_util_fopen (name, "rb");
|
||||
if (! f)
|
||||
return grub_error (GRUB_ERR_BAD_FILENAME,
|
||||
N_("can't open `%s': %s"), name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue