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
|
@ -478,7 +478,7 @@ main (int argc, char *argv[])
|
|||
out = in;
|
||||
image = grub_util_read_image (in);
|
||||
|
||||
fp = fopen (out, "wb");
|
||||
fp = grub_util_fopen (out, "wb");
|
||||
if (! fp)
|
||||
grub_util_error ("cannot open %s", out);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue