]> git.proxmox.com Git - mirror_edk2.git/commit - BaseTools/Source/Python/Common/Misc.py
BaseTools: Support long file path in windows for misc functions
authorShi, Steven <steven.shi@intel.com>
Thu, 22 Aug 2019 02:43:59 +0000 (10:43 +0800)
committerFeng, Bob C <bob.c.feng@intel.com>
Fri, 23 Aug 2019 03:26:23 +0000 (11:26 +0800)
commit6dd9aa40193cc905cda5f97d07e30ffbd5299439
tree11d1c4f3469e14e197d91fdeb2398cc86b3e6a4a
parent1237517b21305ad96834f9a0514a8365dd8a1c41
BaseTools: Support long file path in windows for misc functions

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2103

Current CopyFileOnChange() and SaveFileOnChange() in
BaseTools\Source\Python\Common\Misc.py don't use the dedicated
long file path API to handle the file path strings and cannot
support the long file path copy and save in windows. This patch
enhances them to support the long file path copy and save
correctly.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Signed-off-by: Steven Shi <steven.shi@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/Common/Misc.py