(0001603)
vda
09-02-06 12:14
|
Please provide testcases where tar does something incorrectly.
So far all issues referenced in links above were addressed by
this patch in svn:
diff -urpN busybox.0/archival/libunarchive/find_list_entry.c busybox.1/archival/libunarchive/find_list_entry.c
--- busybox.0/archival/libunarchive/find_list_entry.c 2006-08-24 11:43:52.000000000 +0200
+++ busybox.1/archival/libunarchive/find_list_entry.c 2006-09-02 20:11:50.000000000 +0200
@@ -13,7 +13,7 @@
const llist_t *find_list_entry(const llist_t *list, const char *filename)
{
while (list) {
- if (fnmatch(list->data, filename, 0) == 0) {
+ if (fnmatch(list->data, filename, FNM_LEADING_DIR) == 0) {
return (list);
}
list = list->link;
Is this ok? |