FIXED: C shell bug
utzoo!decvax!ucbvax!dist2
utzoo!decvax!ucbvax!dist2
Sun Oct 4 03:24:45 AEST 1981
The "&&" and "||" command operators (as opposed to expression operators)
in the C shell have their senses reversed.
For consistency with the 4.1BSD version of the C shell, the fix included is
different from the one suggested:
diff sh.sem.c.old sh.sem.c
280c280
< if ((getn(value("status")) == 0) == (t->t_dtyp == TAND))
---
> if ((getn(value("status")) == 0) != (t->t_dtyp == TAND))
As far as I know, this bug still exists on both the 2.8 and 4.1 bsd's.
This fix should be applied to all tapes made before 10/5/81. The bug does not
exist in 4.1BSD.
Carl
More information about the Comp.bugs.2bsd
mailing list