[1641] in Kerberos-V5-bugs
IRIX bug in Kerberos 5 B5
daemon@ATHENA.MIT.EDU (Chris Wilson)
Sun Sep 24 06:00:37 1995
Date: Sun, 24 Sep 95 3:00:22 PDT
From: Chris Wilson <cwilson@CS.Stanford.EDU>
To: krb5-bugs@MIT.EDU
Another IRIX bug: in krlogind.c, getpty() isn't working. It's running
this code:
ptynum = (int)(stb.st_rdev&0xFF);
sprintf(slave, "/dev/ttyp%x", ptynum);
return 0;
which doesn't work for IRIX -- the /dev/ttyq?? devices don't exist. I
changed it to
ptynum = (int)(stb.st_rdev&0xFF);
sprintf(slave, "/dev/ttyq%d", ptynum);
return 0;
and it works now. I don't know why it even gets to this point because
it looks like the call to ttyname() should work.
--Chris