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:
@@ -1161,7 +1161,7 @@ bool wxTarOutputStream::WriteHeaders(wxTarEntry& entry)
|
|||||||
|
|
||||||
if (entry.GetSize() == wxInvalidOffset)
|
if (entry.GetSize() == wxInvalidOffset)
|
||||||
entry.SetSize(0);
|
entry.SetSize(0);
|
||||||
m_large = SetHeaderNumber(TAR_SIZE, entry.GetSize());
|
m_large = !SetHeaderNumber(TAR_SIZE, entry.GetSize());
|
||||||
|
|
||||||
SetHeaderDate(_T("mtime"), entry.GetDateTime());
|
SetHeaderDate(_T("mtime"), entry.GetDateTime());
|
||||||
if (entry.GetAccessTime().IsValid())
|
if (entry.GetAccessTime().IsValid())
|
||||||
|
Reference in New Issue
Block a user