sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit e375ee7014994e5d0d68197de52e86bd4217653a
parent 0a2653295586609344c47669155a39a9bdd0ae66
Author: Evan Gates <evan.gates@gmail.com>
Date:   Wed May 13 14:18:13 -0700

need implicit -a between ) and !

Diffstat:
find.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/find.c b/find.c @@ -799,7 +799,7 @@ parse(int argc, char **argv) } else if ((op = find_op(*arg))) { /* token is an operator */ if (lasttype == LPAR && op->type == RPAR) eprintf("empty parens\n"); - if (lasttype == PRIM && op->type == NOT) { /* need another implicit -a */ + if ((lasttype == PRIM || lasttype == RPAR) && op->type == NOT) { /* need another implicit -a */ *tok++ = and; ntok++; }