summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Ohlrich <miles.ohlrich@isilon.com>2014-08-04 14:35:10 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2014-08-04 14:35:10 -0700
commit22ee3a4fd9698b221d10ecda501d7579132e95fc (patch)
tree0782d996880c034d27fe79836cba1f49f23a0644
parentef3fd473c0a5ab5e5f50c6498498727904aa4373 (diff)
downloadzsh-22ee3a4fd9698b221d10ecda501d7579132e95fc.tar.gz
zsh-22ee3a4fd9698b221d10ecda501d7579132e95fc.zip
32958: bitwise logic fix
-rw-r--r--ChangeLog4
-rw-r--r--Src/Zle/compctl.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 3b729c2d2..cceb5df50 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-08-04 Barton E. Schaefer <schaefer@brasslantern.com>
+
+ * Miles Ohlrich: 32958: Src/Zle/compctl.c: bitwise logic fix
+
2014-08-04 Peter Stephenson <p.w.stephenson@ntlworld.com>
* 32954: Doc/Zsh/expn.yo: missed this.
diff --git a/Src/Zle/compctl.c b/Src/Zle/compctl.c
index 2563095d8..52b9e9c82 100644
--- a/Src/Zle/compctl.c
+++ b/Src/Zle/compctl.c
@@ -3391,7 +3391,7 @@ makecomplistflags(Compctl cc, char *s, int incmd, int compadd)
mflags |= CMF_FILE;
for (n = firstnode(l); n; incnode(n))
addmatch(getdata(n), NULL);
- mflags &= !CMF_FILE;
+ mflags &= ~CMF_FILE;
}
opts[NULLGLOB] = ng;
} else {