K 10 svn:author V 2 ed K 8 svn:date V 27 2009-03-27T19:13:36.234254Z K 7 svn:log V 432 Don't strip TTY device name to the last '/'. We've seen this bug in other applications before: we have some applications that use strrchr(tty, '/') on the TTY device name. This isn't valid when using pts(4), because the device name will be stripped to "0" instead of "pts/0". This fixes issues with login(1) ignoring /etc/ttys and missing utmp records. Reported by: Barney Cordoba Reviewed by: rwatson END