Fix --one-file-system to include the directory encountered rather than
excluding it. This was broken in 3.0.4 (r238856). Obtained from: https://github.com/libarchive/libarchive/commit/fa9e61 MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
f6d6b5e262
commit
eb828e1bb5
@ -974,7 +974,7 @@ next_entry(struct archive_read_disk *a, struct tree *t,
|
|||||||
t->initial_filesystem_id = t->current_filesystem_id;
|
t->initial_filesystem_id = t->current_filesystem_id;
|
||||||
if (!a->traverse_mount_points) {
|
if (!a->traverse_mount_points) {
|
||||||
if (t->initial_filesystem_id != t->current_filesystem_id)
|
if (t->initial_filesystem_id != t->current_filesystem_id)
|
||||||
return (ARCHIVE_RETRY);
|
descend = 0;
|
||||||
}
|
}
|
||||||
t->descend = descend;
|
t->descend = descend;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user