summaryrefslogtreecommitdiffhomepage
path: root/archival/libunarchive/get_header_cpio.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-06-21 12:41:59 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-06-21 12:41:59 +0000
commita80b4a0fa74e7a19881790943d4f58de0411fa58 (patch)
tree36b8576e2ab3c9794bebb370b9c6323138f3116f /archival/libunarchive/get_header_cpio.c
parent9a337801521c9f11cbf6d2e8059f2f133e1afe75 (diff)
tar: improve OLDGNU compat, make old SUN compat configurable
Diffstat (limited to 'archival/libunarchive/get_header_cpio.c')
-rw-r--r--archival/libunarchive/get_header_cpio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/archival/libunarchive/get_header_cpio.c b/archival/libunarchive/get_header_cpio.c
index 724368be2..3f5135512 100644
--- a/archival/libunarchive/get_header_cpio.c
+++ b/archival/libunarchive/get_header_cpio.c
@@ -16,8 +16,9 @@ typedef struct hardlinks_s {
char get_header_cpio(archive_handle_t *archive_handle)
{
static hardlinks_t *saved_hardlinks = NULL;
- static unsigned short pending_hardlinks = 0;
+ static unsigned pending_hardlinks = 0;
static int inode;
+
file_header_t *file_header = archive_handle->file_header;
char cpio_header[110];
int namesize;