diff options
Diffstat (limited to 'src/dircolors.c')
-rw-r--r-- | src/dircolors.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dircolors.c b/src/dircolors.c index 3a03f1f22..d0bd2e406 100644 --- a/src/dircolors.c +++ b/src/dircolors.c @@ -18,6 +18,7 @@ #include <config.h> #include <sys/types.h> +#include <fnmatch.h> #include <getopt.h> #include "system.h" @@ -293,7 +294,7 @@ dc_parse_stream (FILE *fp, const char *filename) unrecognized = false; if (c_strcasecmp (keywd, "TERM") == 0) { - if (STREQ (arg, term)) + if (fnmatch (arg, term, 0) == 0) state = ST_TERMSURE; else if (state != ST_TERMSURE) state = ST_TERMNO; |