]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix setting the large file flag.
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Wed, 1 Nov 2006 00:49:50 +0000 (00:49 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Wed, 1 Nov 2006 00:49:50 +0000 (00:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/tarstrm.cpp

index 4ffdf73491948538118992e299ab3aaac45b32e5..f26ab00422c34a74c593e38da1c63b8388a532af 100644 (file)
@@ -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())