diff options
Diffstat (limited to 'archival/unzip.c')
-rw-r--r-- | archival/unzip.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/archival/unzip.c b/archival/unzip.c index 0d00d8d..96b7ab6 100644 --- a/archival/unzip.c +++ b/archival/unzip.c @@ -372,9 +372,10 @@ static void unzip_extract_symlink(llist_t **symlink_placeholders, target[xstate.mem_output_size] = '\0'; #endif } - create_or_remember_symlink(symlink_placeholders, + create_or_remember_link(symlink_placeholders, target, - dst_fn); + dst_fn, + 0); free(target); } #endif @@ -990,7 +991,7 @@ int unzip_main(int argc, char **argv) } #if ENABLE_FEATURE_UNZIP_CDF - create_symlinks_from_list(symlink_placeholders); + create_links_from_list(symlink_placeholders); #endif if ((opts & OPT_l) && quiet <= 1) { |