Fix negation handling.
authorSimon Schubert <corecode@dragonflybsd.org>
Thu, 18 Jan 2007 17:03:18 +0000 (17:03 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Thu, 18 Jan 2007 17:03:18 +0000 (17:03 +0000)
commit5c454bc1403db76c51001ef7854b344d54614a4e
tree90e26c7cef35625436ac0d5b088f5198f2537fb6
parentbd544276a3fbe901f85cba5d48eb1c7570e566b8
Fix negation handling.

Previously, constructs involving && or || and a pipe would fail if the
first element was negated, like  true && ! true | false.  FreeBSD and
NetBSD did several rounds of fixes, each fixing special cases, however
those fixes failed to correct the real problem.  We now *always* process
the negation (!) *only* in pipes.
bin/sh/parser.c