fix to init (sri-unix.214)
utzoo!decvax!ucbvax!dist2
utzoo!decvax!ucbvax!dist2
Tue Dec 15 03:02:40 AEST 1981
There is no reason for the suggested code change to init.c. The
file kernel/src/cmd/getty.c already includes code (beginning at line 139)
to ensure that the line discipline is reset.
However, the code in getty.c assumes that the old line discipline
is 0 instead of using the defined constant OTTYDISC from sys/ioctl.h.
This should be changed:
diff kernel/src/cmd/getty.c.old kernel/src/cmd/getty.c
142c142
< ldisc = 0;
---
> ldisc = OTTYDISC;
This change should be applied to all tapes written before 12/15/81.
Carl
More information about the Comp.bugs.2bsd
mailing list