diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-09-24 18:34:06 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-09-24 18:34:06 +0000 |
commit | b7794d05ce057205902b3958f98069a884046829 (patch) | |
tree | 3b45e10e19985a7956e5ff32cdaa238efd570d19 /libbb | |
parent | 514c01d89c224f880a64cf0728d727c65734b5f4 (diff) | |
download | busybox-w32-b7794d05ce057205902b3958f98069a884046829.tar.gz busybox-w32-b7794d05ce057205902b3958f98069a884046829.tar.bz2 busybox-w32-b7794d05ce057205902b3958f98069a884046829.zip |
List full path instead of relative path if prefix is specified (this was supposed to be in last patch)
git-svn-id: svn://busybox.net/trunk/busybox@3432 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-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 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 | |||
218 | } | 218 | } |
219 | if ((function & extract_list) || (function & extract_verbose_list)){ | 219 | if ((function & extract_list) || (function & extract_verbose_list)){ |
220 | /* fputs doesnt add a trailing \n, so use fprintf */ | 220 | /* fputs doesnt add a trailing \n, so use fprintf */ |
221 | fprintf(out_stream, "%s\n", file_entry->name); | 221 | fprintf(out_stream, "%s\n", full_name); |
222 | } | 222 | } |
223 | 223 | ||
224 | free(full_name); | 224 | free(full_name); |