diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-04-06 06:11:17 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-04-06 06:11:17 +0000 |
commit | e24b7b1aafb1f01bcb4758a4a450dade1f6c77ab (patch) | |
tree | 20f47715823fa1a46d64354ac8e6f3000f039926 /bin/pax/pax.h | |
parent | cb80257dd1c3a975ee62c3776c5f25a60cb3e0c6 (diff) |
Allow creation of archives with block sizes up to 64512 bytes
but complain about non-portability if > 32256 bytes.
Brought up by George Robbins <grr@shandakor.tharsis.com>
Diffstat (limited to 'bin/pax/pax.h')
-rw-r--r-- | bin/pax/pax.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/pax/pax.h b/bin/pax/pax.h index 1930aa6d3cf..6406407ca82 100644 --- a/bin/pax/pax.h +++ b/bin/pax/pax.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pax.h,v 1.7 1997/02/27 23:32:59 michaels Exp $ */ +/* $OpenBSD: pax.h,v 1.8 1997/04/06 06:11:14 millert Exp $ */ /* $NetBSD: pax.h,v 1.3 1995/03/21 09:07:41 cgd Exp $ */ /*- @@ -44,9 +44,10 @@ * BSD PAX global data structures and constants. */ -#define MAXBLK 32256 /* MAX blocksize supported (posix SPEC) */ +#define MAXBLK 64512 /* MAX blocksize supported (posix SPEC) */ /* WARNING: increasing MAXBLK past 32256 */ /* will violate posix spec. */ +#define MAXBLK_POSIX 32256 /* MAX blocksize supported as per POSIX */ #define BLKMULT 512 /* blocksize must be even mult of 512 bytes */ /* Don't even think of changing this */ #define DEVBLK 8192 /* default read blksize for devices */ @@ -89,7 +90,7 @@ typedef struct { int bsz; /* default block size. used when the user */ /* does not specify a blocksize for writing */ /* Appends continue to with the blocksize */ - /* the archive is currently using.*/ + /* the archive is currently using. */ int hsz; /* Header size in bytes. this is the size of */ /* the smallest header this format supports. */ /* Headers are assumed to fit in a BLKMULT. */ |