1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 22:11:54 +02:00

16487: Src/glob.c: bug in 16486 when a qualifier in a set

consisted only of flags which were handled globally.
This commit is contained in:
Peter Stephenson 2002-01-22 13:52:29 +00:00
parent 13b57311de
commit 803131605b
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2002-01-22 Peter Stephenson <pws@csr.com>
* 16487: Src/glob.c: bug in 16486 when a qualifier in a set
consisted only of flags which were handled globally.
* 16486: Doc/Zsh/expn.yo, Src/glob.c, Src/pattern.c: support
(#q...) EXTENDED_GLOB syntax for qualifiers. May be chained,
ignored by pattern matching code.

View file

@ -1537,7 +1537,7 @@ zglob(LinkList list, LinkNode np, int nountok)
newquals->next = quals;
quals = qn;
}
} else
} else if (newquals)
quals = newquals;
}
q = parsepat(str);