aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-05-04 21:14:12 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-05-04 21:14:12 +0200
commit9180c6045e8b2465b3e18a22eb08ee8438ae8544 (patch)
tree154bd3a352b89e73098e7923941bb76393dcf604 /include
parent882062915d52581fb754e5721addca72aa789ab7 (diff)
downloadbusybox-w32-9180c6045e8b2465b3e18a22eb08ee8438ae8544.tar.gz
busybox-w32-9180c6045e8b2465b3e18a22eb08ee8438ae8544.tar.bz2
busybox-w32-9180c6045e8b2465b3e18a22eb08ee8438ae8544.zip
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 b139dc5be..9e176d335 100644
--- a/include/archive.h
+++ b/include/archive.h
@@ -125,7 +125,7 @@ typedef struct archive_handle_t {
125#define TAR_BLOCK_SIZE 512 125#define TAR_BLOCK_SIZE 512
126#define NAME_SIZE 100 126#define NAME_SIZE 100
127#define NAME_SIZE_STR "100" 127#define NAME_SIZE_STR "100"
128typedef struct tar_header_t { /* byte offset */ 128typedef struct tar_header_t { /* byte offset */
129 char name[NAME_SIZE]; /* 0-99 */ 129 char name[NAME_SIZE]; /* 0-99 */
130 char mode[8]; /* 100-107 */ 130 char mode[8]; /* 100-107 */
131 char uid[8]; /* 108-115 */ 131 char uid[8]; /* 108-115 */