]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(glob): Don't pass GLOB_NOMAGIC flag to glob_in_dir.
authorUlrich Drepper <drepper@redhat.com>
Mon, 29 Apr 2002 04:26:37 +0000 (04:26 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 29 Apr 2002 04:26:37 +0000 (04:26 +0000)
sysdeps/generic/glob.c

index 5232054a9f7656c9a11cdb8ece01c3d853c64fae..e6a19ed5b4496e107c0c4b7532b1722d5da8a185 100644 (file)
@@ -918,7 +918,8 @@ glob (pattern, flags, errfunc, pglob)
 
          old_pathc = pglob->gl_pathc;
          status = glob_in_dir (filename, dirs.gl_pathv[i],
-                               ((flags | GLOB_APPEND) & ~GLOB_NOCHECK),
+                               ((flags | GLOB_APPEND)
+                                & ~(GLOB_NOCHECK | GLOB_NOMAGIC)),
                                errfunc, pglob);
          if (status == GLOB_NOMATCH)
            /* No matches in this directory.  Try the next.  */