From: Ulrich Drepper Date: Wed, 26 Jan 2000 04:50:29 +0000 (+0000) Subject: More fixes. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=809df99a261a8064a91405770d9ef9a19de80b83;p=thirdparty%2Fglibc.git More fixes. --- 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