=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/find/operator.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- src/usr.bin/find/operator.c 1998/08/11 02:53:04 1.3 +++ src/usr.bin/find/operator.c 1999/01/04 21:36:01 1.4 @@ -1,4 +1,4 @@ -/* $OpenBSD: operator.c,v 1.3 1998/08/11 02:53:04 deraadt Exp $ */ +/* $OpenBSD: operator.c,v 1.4 1999/01/04 21:36:01 millert Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -38,7 +38,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)operator.c 8.1 (Berkeley) 6/6/93";*/ -static char rcsid[] = "$OpenBSD: operator.c,v 1.3 1998/08/11 02:53:04 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: operator.c,v 1.4 1999/01/04 21:36:01 millert Exp $"; #endif /* not lint */ #include @@ -201,6 +201,8 @@ errx(1, "!: no following expression"); if (node->type == N_OR) errx(1, "!: nothing between ! and -o"); + if (node->type == N_EXPR) + node = not_squish(node); if (notlevel % 2 != 1) next = node; else