cvs commit: src/bin/sh parser.c
corecode at crater.dragonflybsd.org
Thu Jan 18 09:04:08 PST 2007
corecode 2007/01/18 09:03:18 PST
DragonFly src repository
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.
Revision Changes Path
1.12 +35 -41 src/bin/sh/parser.c
More information about the Commits