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