From: Ulrich Drepper Date: Wed, 26 Jan 2000 04:30:22 +0000 (+0000) Subject: Fix last patch. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24455ab7c3a6e694b1cc5fa3837d2892d668cb88;p=thirdparty%2Fglibc.git Fix last patch. --- diff --git a/posix/fnmatch.c b/posix/fnmatch.c index 82e2c2cd44c..27cf2481974 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, L('/')); if (flags & FNM_LEADING_DIR) { if (slashp != NULL - && STRCHR (slashp + 1, L('/')) == NULL) + && strchr (slashp + 1, L('/')) == NULL) result = 0; } else