void FAST_FUNC data_extract_all(archive_handle_t *archive_handle)
{
-
file_header_t *file_header = archive_handle->file_header;
int dst_fd;
int res;
dst_name = strchr(dst_name, '/');
if (!dst_name || dst_name[1] == '\0') {
data_skip(archive_handle);
- return;
+ goto ret;
}
dst_name++;
/*
hard_link = strchr(hard_link, '/');
if (!hard_link || hard_link[1] == '\0') {
data_skip(archive_handle);
- return;
+ goto ret;
}
hard_link++;
}
if (hard_link) {
res = link(hard_link, dst_name);
if (res != 0 && !(archive_handle->ah_flags & ARCHIVE_EXTRACT_QUIET)) {
+ /* shared message */
bb_perror_msg("can't create %slink "
- "from %s to %s", "hard",
+ "%s to %s", "hard",
dst_name,
hard_link);
}
if (res != 0
&& !(archive_handle->ah_flags & ARCHIVE_EXTRACT_QUIET)
) {
+ /* shared message */
bb_perror_msg("can't create %slink "
- "from %s to %s", "sym",
+ "%s to %s", "sym",
dst_name,
file_header->link_target);
}