mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 15:19:25 +02:00
--- Merging r35498 into '.':
U packages/libtar/src/libtar.pp --- Recording mergeinfo for merge of r35498 into '.': U . # revisions: 35498 git-svn-id: branches/fixes_3_0@36011 -
This commit is contained in:
parent
e689e10233
commit
acaf4f2ee7
@ -977,6 +977,13 @@ VAR
|
||||
BEGIN
|
||||
FillChar (Rec, SizeOf (Rec), 0);
|
||||
FStream.Write (Rec, RECORDSIZE);
|
||||
{
|
||||
Avoid warning: 'tar: A lone zero block at *'
|
||||
The reason for this message is that GNU tar format has been changed
|
||||
to require TWO zero blocks marking the end of the archive.
|
||||
Thus write a second zero block.
|
||||
}
|
||||
FStream.Write (Rec, RECORDSIZE);
|
||||
FFinalized := TRUE;
|
||||
END;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user