List full path instead of relative path if prefix is specified (this was supposed to be in last patch)
This commit is contained in:
parent
dece3c5684
commit
c5bd149261
@ -218,7 +218,7 @@ char *extract_archive(FILE *src_stream, FILE *out_stream, const file_header_t *f
|
||||
}
|
||||
if ((function & extract_list) || (function & extract_verbose_list)){
|
||||
/* fputs doesnt add a trailing \n, so use fprintf */
|
||||
fprintf(out_stream, "%s\n", file_entry->name);
|
||||
fprintf(out_stream, "%s\n", full_name);
|
||||
}
|
||||
|
||||
free(full_name);
|
||||
|
Loading…
Reference in New Issue
Block a user