mirror of
https://git.busybox.net/busybox.git
synced 2024-11-28 16:13:40 +08:00
dpkg: fix symlink creation, closes 10941
function old new delta get_header_ar 434 442 +8 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
266f6f1973
commit
dd56921e2d
@ -127,8 +127,10 @@ char FAST_FUNC get_header_ar(archive_handle_t *archive_handle)
|
|||||||
archive_handle->action_header(typed);
|
archive_handle->action_header(typed);
|
||||||
#if ENABLE_DPKG || ENABLE_DPKG_DEB
|
#if ENABLE_DPKG || ENABLE_DPKG_DEB
|
||||||
if (archive_handle->dpkg__sub_archive) {
|
if (archive_handle->dpkg__sub_archive) {
|
||||||
while (archive_handle->dpkg__action_data_subarchive(archive_handle->dpkg__sub_archive) == EXIT_SUCCESS)
|
struct archive_handle_t *sa = archive_handle->dpkg__sub_archive;
|
||||||
|
while (archive_handle->dpkg__action_data_subarchive(sa) == EXIT_SUCCESS)
|
||||||
continue;
|
continue;
|
||||||
|
create_symlinks_from_list(sa->symlink_placeholders);
|
||||||
} else
|
} else
|
||||||
#endif
|
#endif
|
||||||
archive_handle->action_data(archive_handle);
|
archive_handle->action_data(archive_handle);
|
||||||
|
Loading…
Reference in New Issue
Block a user