Date: Thu, 7 Jul 2005 17:48:40 +0000 (UTC) From: Joe Marcus Clarke <marcus@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdlib grantpt.c Message-ID: <200507071748.j67HmeBL080558@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcus 2005-07-07 17:48:40 UTC
FreeBSD src repository (doc,ports committer)
Modified files:
lib/libc/stdlib grantpt.c
Log:
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)
Revision Changes Path
1.4 +4 -3 src/lib/libc/stdlib/grantpt.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507071748.j67HmeBL080558>
