summaryrefslogtreecommitdiffstats
path: root/sys/dev/pccard/pccarddevs
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-03-27 19:13:36 +0000
committered <ed@FreeBSD.org>2009-03-27 19:13:36 +0000
commit66aaf53891e707b20d78eef7a3347a3af25a63e1 (patch)
treea5e8ebab3f502f2a66bbd86af700adec8e70d280 /sys/dev/pccard/pccarddevs
parentebbff345acb1f73f7f224c0d2c455c8f60fbc856 (diff)
downloadFreeBSD-src-66aaf53891e707b20d78eef7a3347a3af25a63e1.zip
FreeBSD-src-66aaf53891e707b20d78eef7a3347a3af25a63e1.tar.gz
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
Diffstat (limited to 'sys/dev/pccard/pccarddevs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud