From: gleasokr@rintintin.Colorado.EDU (Kris Gleason)
Subject: getty_ps 2.0.7 bug fix [ ATTN: Moderator ]
Date: Wed, 21 Apr 1993 05:26:38 GMT [thread overview]
Message-ID: <1993Apr21.052638.11166@klaava.Helsinki.FI> (raw)
In-Reply-To: 1993Apr18.153527.29065@klaava.Helsinki.FI
[ Moderator's note: this is a correction / replacement for the earlier
announcement. Ignore that one, use this one. --liw ]
I have updated the getty_ps2.0.7 package to getty_ps2.0.7a.
There was a stupid bug in the 2.0.7 source. Those of you who
already have the source can apply the following diff to bring
your code up to 2.0.7a.
Enclosed File: getty_ps2.0.7a.diff
BEGIN-----------8<---------CUT HERE---------8<---------------
*** main.c.orig Tue Apr 20 00:05:22 1993
--- main.c Tue Apr 20 00:05:41 1993
***************
*** 368,373 ****
--- 368,374 ----
/* construct /dev/ names for the lines
*/
(void) sprintf(devname, "/dev/%s", Device);
+ if(strequal(InitDevice, "unknown")) InitDevice = Device;
(void) sprintf(initdevname, "/dev/%s", InitDevice);
#ifdef UUGETTY
***************
*** 499,505 ****
*/
if((init) || (waitchar)) {
! while(((fd = open(devname, O_RDWR | O_NDELAY)) < 0) &&
(errno == EBUSY)) sleep(30);
if(fd < 0) {
logerr("cannot open init line");
--- 499,505 ----
*/
if((init) || (waitchar)) {
! while(((fd = open(initdevname, O_RDWR | O_NDELAY)) < 0) &&
(errno == EBUSY)) sleep(30);
if(fd < 0) {
logerr("cannot open init line");
END-------------8<---------CUT HERE---------8<---------------
Kris
--
gleasokr@rintintin.colorado.edu
HARDWARE (noun): The equipment that makes up a
computer system, not to be confused with software
prev parent reply other threads:[~1993-04-21 5:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-04-18 15:35 getty_ps2.0.7 ... cure for the serial login blues Kris Gleason
1993-04-21 5:26 ` Kris Gleason [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox