mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-31 06:48:26 -04:00
[cmp] Enable extraction of zip archives outside of ISO copy mode
* This enables the use of Ctrl-SELECT to also extract files from a .zip when using non-bootable, DOS, UEFI-NTFS, etc. * Also clean up some uprintf line terminations and some additional code. * Also fix some Coverity and MinGW warnings.
This commit is contained in:
parent
abc33122a0
commit
5eae8a6441
10 changed files with 115 additions and 77 deletions
|
@ -1146,6 +1146,13 @@ static __inline const char* _filenameU(const char* path)
|
|||
return path;
|
||||
}
|
||||
|
||||
static __inline uint64_t _filesizeU(const char* path)
|
||||
{
|
||||
struct __stat64 stat64 = { 0 };
|
||||
_stat64U(path, &stat64);
|
||||
return stat64.st_size;
|
||||
}
|
||||
|
||||
// returned UTF-8 string must be freed
|
||||
static __inline char* getenvU(const char* varname)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue