mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 08:09:18 +02:00
* sync
git-svn-id: trunk@6483 -
This commit is contained in:
parent
397f5ea204
commit
429f66b4ee
@ -1313,10 +1313,14 @@ Var
|
||||
Count : Longint;
|
||||
CRC : LongWord;
|
||||
ZMethod : Word;
|
||||
OutputFileName : string;
|
||||
Begin
|
||||
Try
|
||||
ReadZipHeader(Item,CRC,ZMethod);
|
||||
OpenOutput(FOutputPath+Item.Name);
|
||||
OutputFileName:=Item.Name;
|
||||
if FOutputPath<>'' then
|
||||
OutputFileName:=IncludeTrailingPathDelimiter(FOutputPath)+OutputFileName;
|
||||
OpenOutput(OutputFileName);
|
||||
if ZMethod=0 then
|
||||
begin
|
||||
Count:=FOutFile.CopyFrom(FZipFile,LocalHdr.Compressed_Size);
|
||||
|
Loading…
Reference in New Issue
Block a user