diff options
author | Peter Stephenson <pws@zsh.org> | 2013-11-20 17:35:57 +0000 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2013-11-20 17:35:57 +0000 |
commit | 8e2d4c2cf77125588549194677a2688a547c1b9e (patch) | |
tree | b17e84189e0a76db4585d7d07e50765414595183 /Src | |
parent | b514fbe110f548df45f1de6064c1ac2a4037b917 (diff) | |
download | zsh-8e2d4c2cf77125588549194677a2688a547c1b9e.tar.gz zsh-8e2d4c2cf77125588549194677a2688a547c1b9e.tar.xz zsh-8e2d4c2cf77125588549194677a2688a547c1b9e.zip |
32030: need to revert empty glob qualifier change.
It failed on an empty expansion that (N) was supposed to remove. Add test for this case.
Diffstat (limited to 'Src')
-rw-r--r-- | Src/glob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/glob.c b/Src/glob.c index 385b9e681..e0d0cf68e 100644 --- a/Src/glob.c +++ b/Src/glob.c @@ -1171,7 +1171,7 @@ zglob(LinkList list, LinkNode np, int nountok) break; } } - if (*s != Inpar || s == str) + if (*s != Inpar) break; if (isset(EXTENDEDGLOB) && !zpc_disables[ZPC_HASH] && s[1] == Pound) { if (s[2] == 'q') { |