diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-04-13 13:26:33 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-05-22 17:52:51 +0200 |
commit | 70baf859a61391746c409e9e219b236b3011dcc2 (patch) | |
tree | e6ea9d61577a483b5c37aefb7606c0813466f5c2 | |
parent | 2c5ceb6065b94f3b6ad886a212fcae0c8fdfa5f8 (diff) | |
download | busybox-w32-70baf859a61391746c409e9e219b236b3011dcc2.tar.gz busybox-w32-70baf859a61391746c409e9e219b236b3011dcc2.tar.bz2 busybox-w32-70baf859a61391746c409e9e219b236b3011dcc2.zip |
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>
-rw-r--r-- | archival/libarchive/get_header_ar.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/archival/libarchive/get_header_ar.c b/archival/libarchive/get_header_ar.c index 1809ec396..75e4f248e 100644 --- a/archival/libarchive/get_header_ar.c +++ b/archival/libarchive/get_header_ar.c | |||
@@ -127,8 +127,10 @@ char FAST_FUNC get_header_ar(archive_handle_t *archive_handle) | |||
127 | archive_handle->action_header(typed); | 127 | archive_handle->action_header(typed); |
128 | #if ENABLE_DPKG || ENABLE_DPKG_DEB | 128 | #if ENABLE_DPKG || ENABLE_DPKG_DEB |
129 | if (archive_handle->dpkg__sub_archive) { | 129 | if (archive_handle->dpkg__sub_archive) { |
130 | while (archive_handle->dpkg__action_data_subarchive(archive_handle->dpkg__sub_archive) == EXIT_SUCCESS) | 130 | struct archive_handle_t *sa = archive_handle->dpkg__sub_archive; |
131 | while (archive_handle->dpkg__action_data_subarchive(sa) == EXIT_SUCCESS) | ||
131 | continue; | 132 | continue; |
133 | create_symlinks_from_list(sa->symlink_placeholders); | ||
132 | } else | 134 | } else |
133 | #endif | 135 | #endif |
134 | archive_handle->action_data(archive_handle); | 136 | archive_handle->action_data(archive_handle); |