From: Glenn L McGrath Date: Mon, 24 Sep 2001 18:34:06 +0000 (-0000) Subject: List full path instead of relative path if prefix is specified (this was supposed... X-Git-Tag: 0_60_2~157 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c5bd149261e9add5ababb315cd21f5016a3e1755;p=oweals%2Fbusybox.git List full path instead of relative path if prefix is specified (this was supposed to be in last patch) --- diff --git a/libbb/unarchive.c b/libbb/unarchive.c index 4d47eff0e..7b85243b1 100644 --- a/libbb/unarchive.c +++ b/libbb/unarchive.c @@ -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);