Aucbvax.5398 net.2bsd-bugs utzoo!decvax!ucbvax!dist2 Sun Dec 6 02:58:51 1981 FIXED: a bug in csh(1) A heinous bug has been found in the csh. The routine syntax() expects 3 parameters and is only called with 2, when called non-recursively, eg in sh.c. The third parameter is a word of flags. The fix is to replace calls of syntax(p1, p2) with syntax(p1, p2, 0). Specifically, the necessary modifications are: diff src/csh/sh.c.old src/csh/sh.c 639c639 < t = syntax(paraml.next, ¶ml); --- > t = syntax(paraml.next, ¶ml, 0); diff src/csh/sh.exp.c.old src/csh/sh.exp.c 483c483 < t = syntax(paraml.next, ¶ml); --- > t = syntax(paraml.next, ¶ml, 0); diff src/csh/sh.glob.c.old src/csh/sh.glob.c 645c645 < t = syntax(paraml.next, ¶ml); --- > t = syntax(paraml.next, ¶ml, 0); These changes are necessary on all tapes written before 12/5/81. Carl