diff options
Diffstat (limited to 'libbb/unarchive.c')
-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 e23acff..3bf79d6 100644 --- a/libbb/unarchive.c +++ b/libbb/unarchive.c @@ -242,7 +242,7 @@ char *unarchive(FILE *src_stream, FILE *out_stream, file_header_t *(*get_headers if (extract_names != NULL) { int found_flag = FALSE; for(i = 0; extract_names[i] != 0; i++) { - if (strcmp(extract_names[i], file_entry->name) == 0) { + if (fnmatch(extract_names[i], file_entry->name, 0) == 0) { found_flag = TRUE; break; } |