List full path instead of relative path if prefix is specified (this was supposed to be in last patch)

This commit is contained in:
Glenn L McGrath 2001-09-24 18:34:06 +00:00
parent dece3c5684
commit c5bd149261

View File

@ -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);