diff options
-rw-r--r-- | lib/fstree/fstree_from_file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/fstree/fstree_from_file.c b/lib/fstree/fstree_from_file.c index d852e0b..465f81d 100644 --- a/lib/fstree/fstree_from_file.c +++ b/lib/fstree/fstree_from_file.c @@ -152,6 +152,8 @@ static int glob_node_callback(void *user, fstree_t *fs, tree_node_t *node) return -1; } + canonicalize_name(path); + ret = fnmatch(ctx->name_pattern, path, FNM_PATHNAME); free(path); } else { |