[git commit branch/1_28_stable] dpkg: fix symlink creation, closes 10941
Denys Vlasenko
vda.linux at googlemail.com
Tue May 22 15:52:51 UTC 2018
commit: https://git.busybox.net/busybox/commit/?id=70baf859a61391746c409e9e219b236b3011dcc2
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/1_28_stable
function old new delta
get_header_ar 434 442 +8
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
archival/libarchive/get_header_ar.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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)
archive_handle->action_header(typed);
#if ENABLE_DPKG || ENABLE_DPKG_DEB
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;
+ create_symlinks_from_list(sa->symlink_placeholders);
} else
#endif
archive_handle->action_data(archive_handle);
More information about the busybox-cvs
mailing list