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
|
@ -241,7 +241,7 @@ grub_util_resolve_dependencies (const char *prefix,
|
|||
struct grub_util_path_list *path_list = 0;
|
||||
|
||||
path = grub_util_get_path (prefix, dep_list_file);
|
||||
fp = fopen (path, "r");
|
||||
fp = grub_util_fopen (path, "r");
|
||||
if (! fp)
|
||||
grub_util_error (_("cannot open `%s': %s"), path, strerror (errno));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue