add comment clarifying busybox's use of non-standard tar header

This commit is contained in:
Paul Fox
2007-11-17 19:11:05 +00:00
parent 8512862163
commit 16aec39ebe
2 changed files with 7 additions and 1 deletions

View File

@@ -61,6 +61,9 @@ char get_header_tar(archive_handle_t *archive_handle)
char linkname[100]; /* 157-256 */
/* POSIX: "ustar" NUL "00" */
/* GNU tar: "ustar " NUL */
/* Normally it's defined as magic[6] followed by
* version[2], but we put them together to save code.
*/
char magic[8]; /* 257-264 */
char uname[32]; /* 265-296 */
char gname[32]; /* 297-328 */