about summary refs log tree commit diff
path: root/Src/glob.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2013-11-20 17:35:57 +0000
committerPeter Stephenson <pws@zsh.org>2013-11-20 17:35:57 +0000
commit8e2d4c2cf77125588549194677a2688a547c1b9e (patch)
treeb17e84189e0a76db4585d7d07e50765414595183 /Src/glob.c
parentb514fbe110f548df45f1de6064c1ac2a4037b917 (diff)
downloadzsh-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/glob.c')
-rw-r--r--Src/glob.c2
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') {