diff options
Diffstat (limited to 'src/ustar.h')
-rw-r--r-- | src/ustar.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ustar.h b/src/ustar.h index d2317b6..a5bb461 100644 --- a/src/ustar.h +++ b/src/ustar.h @@ -23,14 +23,14 @@ #include <stdint.h> #include "gzip.h" -#define OPKG_OPK_USTAR_RECORD_SIZE 512 -#define OPKG_OPK_USTAR_NAME_MAX_LEN 257 /* prefix[155] + '/' + name[100] + '\0' - */ +#define OPKG_OPK_USTAR_RECORD_SIZE 512 +#define OPKG_OPK_USTAR_NAME_SIZE 257 /* prefix[155] + '/' + name[100] + '\0' + */ struct opkg_opk_ustar; struct opkg_opk_ustar_member { - char name[OPKG_OPK_USTAR_NAME_MAX_LEN]; + char name[OPKG_OPK_USTAR_NAME_SIZE]; uint16_t mode; uint64_t size; int64_t mtime; |