Fix setting the large file flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
a19063065b
commit
7bb82a7415
@ -1161,7 +1161,7 @@ bool wxTarOutputStream::WriteHeaders(wxTarEntry& entry)
|
||||
|
||||
if (entry.GetSize() == wxInvalidOffset)
|
||||
entry.SetSize(0);
|
||||
m_large = SetHeaderNumber(TAR_SIZE, entry.GetSize());
|
||||
m_large = !SetHeaderNumber(TAR_SIZE, entry.GetSize());
|
||||
|
||||
SetHeaderDate(_T("mtime"), entry.GetDateTime());
|
||||
if (entry.GetAccessTime().IsValid())
|
||||
|
Loading…
Reference in New Issue
Block a user