mirror of
https://github.com/ip7z/7zip.git
synced 2026-01-01 22:19:59 +01:00
Fix symbolic link target extraction in CPIO handler
Fixed bug where symbolic links were pointing to themselves instead of their correct targets on Windows. The code was probably copied from line 886 and was not adapted properly.
This commit is contained in:
parent
5e96a82794
commit
29ace113ad
|
|
@ -927,7 +927,7 @@ Z7_COM7F_IMF(CHandler::GetProperty(UInt32 index, PROPID propID, PROPVARIANT *val
|
|||
{
|
||||
#ifdef _WIN32
|
||||
UString u;
|
||||
ConvertUTF8ToUnicode(item.Name, u);
|
||||
ConvertUTF8ToUnicode(s, u);
|
||||
#else
|
||||
const UString u = MultiByteToUnicodeString(s, CP_OEMCP);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue