diff options
author | Glenn L McGrath | 2001-09-24 18:34:06 +0000 |
---|---|---|
committer | Glenn L McGrath | 2001-09-24 18:34:06 +0000 |
commit | c5bd149261e9add5ababb315cd21f5016a3e1755 (patch) | |
tree | 3b45e10e19985a7956e5ff32cdaa238efd570d19 | |
parent | dece3c5684bf32239f84540be8e4359b1ee26672 (diff) | |
download | busybox-c5bd149261e9add5ababb315cd21f5016a3e1755.zip busybox-c5bd149261e9add5ababb315cd21f5016a3e1755.tar.gz |
List full path instead of relative path if prefix is specified (this was supposed to be in last patch)
-rw-r--r-- | libbb/unarchive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/unarchive.c b/libbb/unarchive.c index 4d47eff..7b85243 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); |