DragonFly commits List (threaded) for 2007-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/bin/sh parser.c
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]