summaryrefslogtreecommitdiffstats
path: root/lib/libarchive
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2007-07-14 05:53:51 +0000
committerkientzle <kientzle@FreeBSD.org>2007-07-14 05:53:51 +0000
commit0948603d9eefb8b7f5898f99c8703b2e5b7f9647 (patch)
treeaf1376c651bf1038a5b12091bd0de3b9cae5a63d /lib/libarchive
parentc57e8049cba788207249c06a0b185051685a7737 (diff)
downloadFreeBSD-src-0948603d9eefb8b7f5898f99c8703b2e5b7f9647.zip
FreeBSD-src-0948603d9eefb8b7f5898f99c8703b2e5b7f9647.tar.gz
Restore the 'break' that was inadvertently removed in 1.57 of this file.
Without this, hardlinks get returned as symlinks. Approved by: re (Ken Smith) MFC after: 2 days
Diffstat (limited to 'lib/libarchive')
-rw-r--r--lib/libarchive/archive_read_support_format_tar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libarchive/archive_read_support_format_tar.c b/lib/libarchive/archive_read_support_format_tar.c
index 03088d7..c5d33f8 100644
--- a/lib/libarchive/archive_read_support_format_tar.c
+++ b/lib/libarchive/archive_read_support_format_tar.c
@@ -1000,6 +1000,7 @@ header_common(struct archive_read *a, struct tar *tar,
archive_entry_set_size(entry, 0);
tar->entry_bytes_remaining = 0;
}
+ break;
case '2': /* Symlink */
archive_entry_set_filetype(entry, AE_IFLNK);
archive_entry_set_size(entry, 0);
OpenPOWER on IntegriCloud