mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-08 06:02:59 +00:00
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:
parent
f7f698bb22
commit
46dd1e6ee7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171439
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user