summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index 8ade5471c6..d016bf4f9e 100644
--- a/dir.c
+++ b/dir.c
@@ -141,7 +141,7 @@ range(pat, test, flags)
#define ISDIRSEP(c) (pathname && isdirsep(c))
#define PERIOD(s) (period && *(s) == '.' && \
- ((s) == string || ISDIRSEP((s)[-1])))
+ ((s) == string || isdirsep((s)[-1])))
static int
fnmatch(pat, string, flags)
const char *pat;