Ed Schouten 95e7b94a05 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 <barney_cordoba yahoo com>
Reviewed by:	rwatson
2009-03-27 19:13:36 +00:00
..
2009-02-28 10:40:37 +00:00
2008-11-19 00:14:15 +00:00
2009-01-16 15:00:30 +00:00
2009-02-03 15:27:29 +00:00
2009-03-19 10:23:26 +00:00
2009-02-11 20:36:17 +00:00
2009-02-21 03:38:46 +00:00
2009-02-21 03:42:31 +00:00