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
This commit is contained in:
Tim Kientzle 2007-07-14 05:53:51 +00:00
parent f7f698bb22
commit 46dd1e6ee7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171439

View File

@ -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);