summary refs log tree commit diff
path: root/Src/glob.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2013-11-18 16:28:22 +0000
committerPeter Stephenson <pws@zsh.org>2013-11-18 16:28:22 +0000
commit7560ed59f99c770e45f29ae606f5d447245d4acd (patch)
treeda6fbe7d7a0eb444475c84d858d336719dacc0cb /Src/glob.c
parent8426fc66399bae77f059276d0f9d995a50761e72 (diff)
parent12fb09c336f23fdd6539e66380a32c4a86f3527e (diff)
downloadzsh-7560ed59f99c770e45f29ae606f5d447245d4acd.tar.gz
zsh-7560ed59f99c770e45f29ae606f5d447245d4acd.tar.xz
zsh-7560ed59f99c770e45f29ae606f5d447245d4acd.zip
Fix merge of ChangeLog
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 e0d0cf68e..385b9e681 100644
--- a/Src/glob.c
+++ b/Src/glob.c
@@ -1171,7 +1171,7 @@ zglob(LinkList list, LinkNode np, int nountok)
 		break;
 	    }
 	}
-	if (*s != Inpar)
+	if (*s != Inpar || s == str)
 	    break;
 	if (isset(EXTENDEDGLOB) && !zpc_disables[ZPC_HASH] && s[1] == Pound) {
 	    if (s[2] == 'q') {