]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
More fixes.
authorUlrich Drepper <drepper@redhat.com>
Wed, 26 Jan 2000 04:50:29 +0000 (04:50 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 26 Jan 2000 04:50:29 +0000 (04:50 +0000)
posix/fnmatch.c

index 27cf24819741ec7d81264ab6f8b3f7cdf890e991..e5570c2865306392e839c2f3fedd4eea5d80668e 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, '/');
 
                  if (flags & FNM_LEADING_DIR)
                    {
                      if (slashp != NULL
-                         && strchr (slashp + 1, L('/')) == NULL)
+                         && strchr (slashp + 1, '/') == NULL)
                        result = 0;
                    }
                  else