about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 {