Aucbvax.3127 net.2bsd-bugs utzoo!decvax!ucbvax!dist2 Tue Sep 15 02:08:41 1981 first 2BSD bug list There follows a list of currently known bug fixes to 2.8BSD. Some tapes may have fixes already installed. The crucial fixes are the ones involving sys2.c and sys3.c. In most cases the reason for the fix is self-evident. In a couple cases, the explanation is rather involved. If anyone is interested in obtaining the list documenting the necessity of each fix, please contact me directly (via dist2@berkeley or ucbvax!dist2). Thanks to everyone who reported these bugs, often with accompanying fixes. Carl DATE MADE DESCRIPTION 8/19/81 fix to ~/kernel/src/cmd/stty.c: diff stty.c.old stty.c 260c260 < ioctl(1, TIOCLSET, lmode); --- > ioctl(1, TIOCLSET, &lmode); 8/22/81 fix to ~/src/login.c: diff login.c.old login.c 299c299 < for (t=ttline; *t && *t!=' '; t++) --- > for (t=ttline; *t && *t!=' ' && *t != '\t'; t++) 8/22/81 copied ~/kernel/include/sys/dir.h to ~/kernel/include/dir.h. 9/3/81 fix to ~/kernel/sys/sys/sys2.c: diff sys2.c.old sys2.c 237c237 < goto out; --- > goto out1; 271a272 > out1: 9/6/81 fix to ~/kernel/sys/sys/rdwri.c: diff rdwri.c.old rdwri.c 163c163 < if(u.u_error != 0) --- > if(u.u_error != 0) { 166d165 < { 169d167 < } 173a172 > } 9/6/81 fix to ~/login.c: diff login.c.old login.c 62,63c62 < CTRL(z), CTRL(y), CTRL(r), CTRL(o), CTRL(w), CTRL(v), < CTRL(h), CTRL(u), CTRL(c) --- > CTRL(z), CTRL(y), CTRL(r), CTRL(o), CTRL(w), CTRL(v) 9/6/81 fix to ~/kernel/src/cmd/stty.c: diff stty.c.old stty.c 145,147d144 < "lerase", <c.t_lerase, CTRL(h), < "lkill", <c.t_lkill, CTRL(u), < "lintr", <c.t_lintr, CTRL(c), 362c359 < erase kill werase rprnt flusho lnext susp intr quit stop eof\ --- > erase kill werase rprnt flush lnext susp intr quit stop eof\ 364,365c361,362 < pcol(mode.sg_erase, ltc.t_lerase); < pcol(mode.sg_kill, ltc.t_lkill); --- > pcol(mode.sg_erase, -1); > pcol(mode.sg_kill, -1); 371c368 < pcol(tc.t_intrc, ltc.t_lintr); --- > pcol(tc.t_intrc, -1); 9/6/81 fix to ~/kernel/sys/conf/c.c: diff c.c.old c.c 144a145 > #ifdef ACCT 146a148 > #endif ACCT 9/8/81 fix to ~/kernel/sys/sys/sys3.c: diff sys3.c.old sys3.c 247a248 > struct buf *dp; /* Klein & McConnell fix */ 269a271,281 > dp = bdevsw[major(dev)].d_tab; > for (bp=dp->b_forw; bp!=dp; bp=bp->b_forw) { > spl6(); > if (bp->b_dev == dev) { > #ifdef UCB_BHASH > bunhash(bp); > #endif > bp->b_dev = NODEV; > } > spl0(); > } 9/8/81 fix to ~/kernel/sys/sys/sig.c: diff sig.c.old sig.c 198a199 > 16, /* unassigned */ 9/9/81 fix to ~/kernel/src/cmd/stty.c: diff stty.c.old stty.c 211c211 < *sp->cp = (*(argv[1]) == '?') ? --- > *sp->cp = ((*argv)[1] == '?') ?