From: Sergey Poznyakoff Date: Fri, 9 Jun 2006 13:50:04 +0000 (+0000) Subject: Fix indentation, introduce end-of-format marker for texify.sed X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=f1b1e9a476a313919840f2da769e6187b3034795;p=chaz%2Ftar Fix indentation, introduce end-of-format marker for texify.sed --- diff --git a/src/tar.h b/src/tar.h index 7235030..620b935 100644 --- a/src/tar.h +++ b/src/tar.h @@ -192,8 +192,7 @@ struct oldgnu_header /* Solaris extended header */ #define SOLARIS_XHDTYPE 'X' - -/* Jörg Schilling star header */ +/* J@"org Schilling star header */ struct star_header { /* byte offset */ @@ -221,7 +220,8 @@ struct star_header #define SPARSES_IN_STAR_HEADER 4 #define SPARSES_IN_STAR_EXT_HEADER 21 -struct star_in_header { +struct star_in_header +{ char fill[345]; /* 0 Everything that is before t_prefix */ char prefix[1]; /* 345 t_name prefix */ char fill2; /* 346 */ @@ -236,11 +236,13 @@ struct star_in_header { char xmagic[4]; /* 508 "tar" */ }; -struct star_ext_header { +struct star_ext_header +{ struct sparse sp[SPARSES_IN_STAR_EXT_HEADER]; char isextended; }; +/* END */ /* tar Header Block, overall structure. */ @@ -263,10 +265,10 @@ enum archive_format /* Information about a sparse file. */ struct sp_array - { - off_t offset; - size_t numbytes; - }; +{ + off_t offset; + size_t numbytes; +}; struct tar_stat_info { @@ -317,4 +319,4 @@ union block struct star_ext_header star_ext_header; }; -/* End of Format description. */ +