From 809df99a261a8064a91405770d9ef9a19de80b83 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 26 Jan 2000 04:50:29 +0000 Subject: [PATCH] More fixes. --- posix/fnmatch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posix/fnmatch.c b/posix/fnmatch.c index 27cf2481974..e5570c28653 100644 --- a/posix/fnmatch.c +++ b/posix/fnmatch.c @@ -212,12 +212,12 @@ internal_fnmatch (const char *pattern, const char *string, if (flags & FNM_FILE_NAME) { - const char *slashp = strchr (n, L('/')); + const char *slashp = strchr (n, '/'); if (flags & FNM_LEADING_DIR) { if (slashp != NULL - && strchr (slashp + 1, L('/')) == NULL) + && strchr (slashp + 1, '/') == NULL) result = 0; } else -- 2.47.2