mirror of
https://github.com/LongSoft/UEFITool.git
synced 2025-05-21 02:35:26 -04:00
Add support for long paths in Windows 10+
This commit is contained in:
parent
031bd4f734
commit
b6cdc9f484
14 changed files with 108 additions and 51 deletions
|
@ -72,9 +72,8 @@ int main(int argc, char *argv[])
|
|||
USTATUS result;
|
||||
UByteArray buffer;
|
||||
UString path = getAbsPath(argv[1]);
|
||||
result = readFileIntoBuffer(path, buffer);
|
||||
if (result)
|
||||
return result;
|
||||
if (false == readFileIntoBuffer(path, buffer))
|
||||
return U_FILE_OPEN;
|
||||
|
||||
// Hack to support legacy UEFIDump mode
|
||||
if (argc == 3 && !std::strcmp(argv[2], "unpack")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue