cvs commit: src/bin/sh parser.c
Simon Schubert
corecode at crater.dragonflybsd.org
Thu Jan 18 09:04:08 PST 2007
corecode 2007/01/18 09:03:18 PST
DragonFly src repository
Modified files:
bin/sh parser.c
Log:
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
http://www.dragonflybsd.org/cvsweb/src/bin/sh/parser.c.diff?r1=1.11&r2=1.12&f=u
More information about the Commits
mailing list