mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-30 14:35:21 -04:00
[misc] use UTF-8 compatible _unlinkU() when deleting files
This commit is contained in:
parent
bf09842fd2
commit
fe3004d17f
5 changed files with 20 additions and 11 deletions
|
@ -829,7 +829,7 @@ out:
|
|||
}
|
||||
free(buf);
|
||||
}
|
||||
_unlink(isolinux_tmp);
|
||||
_unlinkU(isolinux_tmp);
|
||||
}
|
||||
if (img_report.sl_version != 0) {
|
||||
static_sprintf(img_report.sl_version_str, "%d.%02d",
|
||||
|
@ -865,7 +865,7 @@ out:
|
|||
uprintf(" Checking txtsetup.sif:\n OsLoadOptions = %s", tmp);
|
||||
img_report.uses_minint = (strstr(tmp, "/minint") != NULL);
|
||||
}
|
||||
_unlink(tmp_sif);
|
||||
_unlinkU(tmp_sif);
|
||||
safe_free(tmp);
|
||||
}
|
||||
if (HAS_INSTALL_WIM(img_report)) {
|
||||
|
@ -886,7 +886,7 @@ out:
|
|||
GetGrubVersion(buf, size);
|
||||
}
|
||||
free(buf);
|
||||
_unlink(path);
|
||||
_unlinkU(path);
|
||||
}
|
||||
if (img_report.grub2_version[0] != 0)
|
||||
uprintf(" Detected Grub version: %s", img_report.grub2_version);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue