summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko2011-05-04 21:14:12 +0200
committerDenys Vlasenko2011-05-04 21:14:12 +0200
commit9180c6045e8b2465b3e18a22eb08ee8438ae8544 (patch)
tree154bd3a352b89e73098e7923941bb76393dcf604 /include
parent882062915d52581fb754e5721addca72aa789ab7 (diff)
downloadbusybox-9180c6045e8b2465b3e18a22eb08ee8438ae8544.zip
busybox-9180c6045e8b2465b3e18a22eb08ee8438ae8544.tar.gz
tar: store negative mtime as 0; pack very large files using base-256 encoding
function old new delta writeTarHeader 841 979 +138 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/archive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/archive.h b/include/archive.h
index b139dc5..9e176d3 100644
--- a/include/archive.h
+++ b/include/archive.h
@@ -125,7 +125,7 @@ typedef struct archive_handle_t {
#define TAR_BLOCK_SIZE 512
#define NAME_SIZE 100
#define NAME_SIZE_STR "100"
-typedef struct tar_header_t { /* byte offset */
+typedef struct tar_header_t { /* byte offset */
char name[NAME_SIZE]; /* 0-99 */
char mode[8]; /* 100-107 */
char uid[8]; /* 108-115 */