From c5bd149261e9add5ababb315cd21f5016a3e1755 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Mon, 24 Sep 2001 18:34:06 +0000 Subject: List full path instead of relative path if prefix is specified (this was supposed to be in last patch) --- libbb/unarchive.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbb') 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); -- cgit v1.2.3