]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix last patch.
authorUlrich Drepper <drepper@redhat.com>
Wed, 26 Jan 2000 04:30:22 +0000 (04:30 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 26 Jan 2000 04:30:22 +0000 (04:30 +0000)
posix/fnmatch.c

index 82e2c2cd44c646a3931e36c405938774712343ad..27cf24819741ec7d81264ab6f8b3f7cdf890e991 100644 (file)
@@ -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