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 'CPP/7zip/Archive/Tar/TarHeader.cpp')
-rw-r--r--[-rwxr-xr-x]CPP/7zip/Archive/Tar/TarHeader.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/CPP/7zip/Archive/Tar/TarHeader.cpp b/CPP/7zip/Archive/Tar/TarHeader.cpp
index 3275b284..70be09f3 100755..100644
--- a/CPP/7zip/Archive/Tar/TarHeader.cpp
+++ b/CPP/7zip/Archive/Tar/TarHeader.cpp
@@ -1,4 +1,4 @@
-// Archive/Tar/Header.h
+// Archive/TarHeader.cpp
#include "StdAfx.h"
@@ -8,18 +8,16 @@ namespace NArchive {
namespace NTar {
namespace NFileHeader {
- // The checksum field is filled with this while the checksum is computed.
- const char *kCheckSumBlanks = " "; // 8 blanks, no null
-
const char *kLongLink = "././@LongLink";
const char *kLongLink2 = "@LongLink";
// The magic field is filled with this if uname and gname are valid.
namespace NMagic
{
- const char *kUsTar = "ustar"; // 5 chars
- const char *kGNUTar = "GNUtar "; // 7 chars and a null
- const char *kEmpty = "\0\0\0\0\0\0\0\0"; // 7 chars and a null
+ // const char *kUsTar = "ustar"; // 5 chars
+ // const char *kGNUTar = "GNUtar "; // 7 chars and a null
+ // const char *kEmpty = "\0\0\0\0\0\0\0\0";
+ const char kUsTar_00[8] = { 'u', 's', 't', 'a', 'r', 0, '0', '0' } ;
}
}}}