diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-02 18:40:10 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-02 18:40:10 +0000 |
commit | 06ab5fb6b9d641ee184facb81eaee718e418d9b2 (patch) | |
tree | 20ca95fe4097b5205c9d90b31bd6284e485885d7 /archival | |
parent | bcf4908e714644add18fad1614e8b0dea071960d (diff) | |
download | busybox-w32-06ab5fb6b9d641ee184facb81eaee718e418d9b2.tar.gz busybox-w32-06ab5fb6b9d641ee184facb81eaee718e418d9b2.tar.bz2 busybox-w32-06ab5fb6b9d641ee184facb81eaee718e418d9b2.zip |
tar: tar xf foo.tar dir/dir did not extract all subdirs.
Added testsuite entry for this
Diffstat (limited to 'archival')
-rw-r--r-- | archival/libunarchive/find_list_entry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/find_list_entry.c b/archival/libunarchive/find_list_entry.c index 49bdd2d09..57ffec6ec 100644 --- a/archival/libunarchive/find_list_entry.c +++ b/archival/libunarchive/find_list_entry.c | |||
@@ -13,7 +13,7 @@ | |||
13 | const llist_t *find_list_entry(const llist_t *list, const char *filename) | 13 | const llist_t *find_list_entry(const llist_t *list, const char *filename) |
14 | { | 14 | { |
15 | while (list) { | 15 | while (list) { |
16 | if (fnmatch(list->data, filename, 0) == 0) { | 16 | if (fnmatch(list->data, filename, FNM_LEADING_DIR) == 0) { |
17 | return (list); | 17 | return (list); |
18 | } | 18 | } |
19 | list = list->link; | 19 | list = list->link; |