]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix ptsname(3) by converting it to use devname(3) to obtain the name of
authormarcus <marcus@FreeBSD.org>
Thu, 7 Jul 2005 17:48:40 +0000 (17:48 +0000)
committermarcus <marcus@FreeBSD.org>
Thu, 7 Jul 2005 17:48:40 +0000 (17:48 +0000)
commit979be5a2e14d0620c8c3f9349fa59057243ab738
treee6971802a667e9de8d82db62d2f08e6ce2a29f6c
parent28b7f562fc678fae0db68e2f56a58b703f9a93dd
Fix ptsname(3) by converting it to use devname(3) to obtain the name of
a tty device instead of the legacy minor number approach.  This is known to
fix gnome-vfs' sftp module as well as kio_sftp and kdesu on -CURRENT.

Thanks to scottl for the snprintf() approach idea.

Reviewed by: phk
Tested by: pav
mich
Approved by: re (scottl)
lib/libc/stdlib/grantpt.c