From: Ulrich Drepper Date: Mon, 29 Apr 2002 04:26:37 +0000 (+0000) Subject: (glob): Don't pass GLOB_NOMAGIC flag to glob_in_dir. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04caa0acab75a10d6352f19cda5aa3a9d93dc758;p=thirdparty%2Fglibc.git (glob): Don't pass GLOB_NOMAGIC flag to glob_in_dir. --- diff --git a/sysdeps/generic/glob.c b/sysdeps/generic/glob.c index 5232054a9f7..e6a19ed5b44 100644 --- a/sysdeps/generic/glob.c +++ b/sysdeps/generic/glob.c @@ -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. */