← Commit list

dd56921e2

Denys Vlasenko
Denys Vlasenko
2018-04-13
SUCCESS Duration: 144s

Subject

dpkg: fix symlink creation, closes 10941

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

archival/libarchive/get_header_ar.c+3 -1
@@ -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);