summaryrefslogtreecommitdiff
path: root/archival/libunarchive
diff options
context:
space:
mode:
authorDenis Vlasenko2008-07-11 21:42:12 +0000
committerDenis Vlasenko2008-07-11 21:42:12 +0000
commit2b407b12be6bc25b81961557dd96bf81f2cf88e8 (patch)
treee567beefd99c879c331d2463dc95e1dff55f2b38 /archival/libunarchive
parentabe49fa54fbd4d13f8424532abced8c3bc9afd0c (diff)
downloadbusybox-2b407b12be6bc25b81961557dd96bf81f2cf88e8.zip
busybox-2b407b12be6bc25b81961557dd96bf81f2cf88e8.tar.gz
cpio: support some long options; document GNU options
Diffstat (limited to 'archival/libunarchive')
-rw-r--r--archival/libunarchive/get_header_cpio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/archival/libunarchive/get_header_cpio.c b/archival/libunarchive/get_header_cpio.c
index 96be4b5..95d36cc 100644
--- a/archival/libunarchive/get_header_cpio.c
+++ b/archival/libunarchive/get_header_cpio.c
@@ -7,8 +7,8 @@
#include "libbb.h"
#include "unarchive.h"
-typedef struct hardlinks_s {
- struct hardlinks_s *next;
+typedef struct hardlinks_t {
+ struct hardlinks_t *next;
int inode; /* TODO: must match maj/min too! */
int mode ;
int mtime; /* These three are useful only in corner case */
@@ -149,6 +149,7 @@ char FAST_FUNC get_header_cpio(archive_handle_t *archive_handle)
free(make_me);
goto next_link;
}
+ cur = cur->next;
}
/* Oops... no file with such inode was created... do it now
* (happens when hardlinked files are empty (zero length)) */