diff options
author | Glenn L McGrath | 2002-12-10 00:17:22 +0000 |
---|---|---|
committer | Glenn L McGrath | 2002-12-10 00:17:22 +0000 |
commit | b72a735a320eb60d29bc1580138c06ae7c9d321c (patch) | |
tree | 4923918fadcaac4fdaa5d4197a4e5bafd22b9b2e /archival/libunarchive/data_extract_all.c | |
parent | 62fae308a3d92d987711d08f3d36b0ad753c2e18 (diff) | |
download | busybox-b72a735a320eb60d29bc1580138c06ae7c9d321c.zip busybox-b72a735a320eb60d29bc1580138c06ae7c9d321c.tar.gz |
rpm applet by Laurence Anderson
Diffstat (limited to 'archival/libunarchive/data_extract_all.c')
-rw-r--r-- | archival/libunarchive/data_extract_all.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/data_extract_all.c b/archival/libunarchive/data_extract_all.c index 7ab87e7..9c4510e 100644 --- a/archival/libunarchive/data_extract_all.c +++ b/archival/libunarchive/data_extract_all.c @@ -43,7 +43,7 @@ extern void data_extract_all(archive_handle_t *archive_handle) switch(file_header->mode & S_IFMT) { case S_IFREG: { #ifdef CONFIG_CPIO - if (file_header->link_name) { + if (file_header->link_name && file_header->size == 0) { /* hard link */ res = link(file_header->link_name, file_header->name); if ((res == -1) && !(archive_handle->flags & ARCHIVE_EXTRACT_QUIET)) { |