Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '7zip/Archive/Tar/TarHandlerOut.cpp')
-rwxr-xr-x7zip/Archive/Tar/TarHandlerOut.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/7zip/Archive/Tar/TarHandlerOut.cpp b/7zip/Archive/Tar/TarHandlerOut.cpp
index a54bb58d..110833fb 100755
--- a/7zip/Archive/Tar/TarHandlerOut.cpp
+++ b/7zip/Archive/Tar/TarHandlerOut.cpp
@@ -100,7 +100,10 @@ STDMETHODIMP CHandler::UpdateItems(ISequentialOutStream *outStream, UInt32 numIt
updateItem.Name += '/';
if(!FileTimeToUnixTime(utcTime, updateItem.Time))
- return E_INVALIDARG;
+ {
+ updateItem.Time = 0;
+ // return E_INVALIDARG;
+ }
}
if (IntToBool(newData))
{