diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2018-05-03 00:28:04 +0300 |
---|---|---|
committer | Kornel <kornel@geekhood.net> | 2018-05-03 00:28:04 +0300 |
commit | 18dc2b41613055f0daf7f6a1d4311368798ea12a (patch) | |
tree | 866f6e6a50406fe822cb78f80728b7aebfd79786 /CPP/7zip/Archive/Tar | |
parent | f19b649c73cd8b74c4e0b8a3a728a82c6bda47b4 (diff) |
18.0518.05
Diffstat (limited to 'CPP/7zip/Archive/Tar')
-rw-r--r-- | CPP/7zip/Archive/Tar/TarIn.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CPP/7zip/Archive/Tar/TarIn.cpp b/CPP/7zip/Archive/Tar/TarIn.cpp index 760bfa92..d432c318 100644 --- a/CPP/7zip/Archive/Tar/TarIn.cpp +++ b/CPP/7zip/Archive/Tar/TarIn.cpp @@ -94,7 +94,9 @@ static bool ParseInt64(const char *p, Int64 &val) static bool ParseInt64_MTime(const char *p, Int64 &val) { - // rare case tar contains spaces instead of MTime + // rare case tar : ZEROs in Docker-Windows TARs + // rare case tar : spaces + if (GetUi32(p) != 0) for (unsigned i = 0; i < 12; i++) if (p[i] != ' ') return ParseInt64(p, val); |