Text File

Aucbvax.4207 net.2bsd-bugs utzoo!decvax!ucbvax!dist2 Sun Oct 4 03:24:45 1981 FIXED: C shell bug 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 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

----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen <jgoerzen@complete.org> of http://communication.ucsd.edu/A-News/

This Usenet Oldnews Archive article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.