Displaying 2 results from an estimated 2 matches for "nometa2".
Did you mean:
nometa
2019 Jan 25
0
[klibc:update-dash] expand: Fix glibc glob(3) support
...100644
--- a/usr/dash/expand.c
+++ b/usr/dash/expand.c
@@ -1205,7 +1205,8 @@ expandmeta(str, flag)
ckfree(p);
switch (i) {
case 0:
- if (!(pglob.gl_flags & GLOB_MAGCHAR))
+ if ((pglob.gl_flags & (GLOB_NOMAGIC | GLOB_NOCHECK)) ==
+ (GLOB_NOMAGIC | GLOB_NOCHECK))
goto nometa2;
addglob(&pglob);
globfree(&pglob);
2020 Mar 28
0
[klibc:update-dash] dash: expand: Fix glibc glob(3) support
...100644
--- a/usr/dash/expand.c
+++ b/usr/dash/expand.c
@@ -1205,7 +1205,8 @@ expandmeta(str, flag)
ckfree(p);
switch (i) {
case 0:
- if (!(pglob.gl_flags & GLOB_MAGCHAR))
+ if ((pglob.gl_flags & (GLOB_NOMAGIC | GLOB_NOCHECK)) ==
+ (GLOB_NOMAGIC | GLOB_NOCHECK))
goto nometa2;
addglob(&pglob);
globfree(&pglob);