Article View: net.bugs.2bsd
Article #17Re: fix to init (sri-unix.214)
From: ucbvaxdist2
Date: Tue, 15 Dec 1981 03:02
Date: Tue, 15 Dec 1981 03:02
17 lines
746 bytes
746 bytes
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
Technical Details
Message-ID:
<anews.Aucbvax.5480>Path:
arc1-ca.pugleaf.net!utzoo!decvax!ucbvax!dist2Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!decvax!ucbvax!dist2 From: ucbvax!dist2 Newsgroups: net.bugs.2bsd Subject: Re: fix to init (sri-unix.214) Date: Tue, 15 Dec 1981 03:02:40 +0000 Message-ID: <anews.Aucbvax.5480>