summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-02-10 06:35:40 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-02-10 06:35:40 +0000
commitf19ce193f784d60a816a97b5839aa48b447bb2c6 (patch)
treed445719db86ba25a6ddce13f04f54ef771e74287 /bin
parentadaa3602ba68f1eeb1d83b4a08642ea1275c55f9 (diff)
Don't freak out on archives with only a single block of 0's as
trailer (used to require two blocks of 0's but some tar's only put in one).
Diffstat (limited to 'bin')
-rw-r--r--bin/pax/tar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pax/tar.h b/bin/pax/tar.h
index 73ae8e096ad..a13a5ef47d7 100644
--- a/bin/pax/tar.h
+++ b/bin/pax/tar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tar.h,v 1.2 1996/06/23 14:20:44 deraadt Exp $ */
+/* $OpenBSD: tar.h,v 1.3 1997/02/10 06:35:39 millert Exp $ */
/* $NetBSD: tar.h,v 1.3 1995/03/21 09:07:51 cgd Exp $ */
/*-
@@ -46,7 +46,7 @@
#define CHK_LEN 8 /* length of checksum field */
#define TNMSZ 100 /* size of name field */
#ifdef _PAX_
-#define NULLCNT 2 /* number of null blocks in trailer */
+#define NULLCNT 1 /* number of null blocks in trailer */
#define CHK_OFFSET 148 /* start of chksum field */
#define BLNKSUM 256L /* sum of checksum field using ' ' */
#endif /* _PAX_ */