mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
FIX: Extract directory from archive, restore attributes (Unix)
This commit is contained in:
parent
900108d865
commit
8ca904fbce
1 changed files with 2 additions and 3 deletions
|
|
@ -517,11 +517,10 @@ begin
|
|||
TargetDir := Paths.List[PathIndex]^.Key;
|
||||
|
||||
try
|
||||
{$IF DEFINED(MSWINDOWS)}
|
||||
// Restore attributes, e.g., hidden, read-only.
|
||||
// On Unix attributes value would have to be translated somehow.
|
||||
// Restore attributes
|
||||
mbFileSetAttr(TargetDir, Header.FileAttr);
|
||||
|
||||
{$IF DEFINED(MSWINDOWS)}
|
||||
DosToWinTime(TDosFileTime(Header.FileTime), Time);
|
||||
{$ELSE}
|
||||
{$PUSH}{$R-}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue