svn commit: r191789 - head/lib/libc/stdlib

Ed Schouten ed at FreeBSD.org
Mon May 4 18:14:46 UTC 2009


Author: ed
Date: Mon May  4 18:14:45 2009
New Revision: 191789
URL: http://svn.freebsd.org/changeset/base/191789

Log:
  Our grantpt(3) and unlockpt(3) don't comply with POSIX.

Modified:
  head/lib/libc/stdlib/ptsname.3

Modified: head/lib/libc/stdlib/ptsname.3
==============================================================================
--- head/lib/libc/stdlib/ptsname.3	Mon May  4 18:05:27 2009	(r191788)
+++ head/lib/libc/stdlib/ptsname.3	Mon May  4 18:14:45 2009	(r191789)
@@ -132,12 +132,16 @@ The slave pseudo-terminal device could n
 .Xr tty 4
 .Sh STANDARDS
 The
-.Fn grantpt ,
 .Fn ptsname
+function conforms to
+.St -p1003.1-2001 .
+.Pp
+This implementation of
+.Fn grantpt
 and
 .Fn unlockpt
-functions conform to
-.St -p1003.1-2001 .
+does not comply with any standard, because these functions assume the
+pseudo-terminal has the correct attributes upon creation.
 .Sh HISTORY
 The
 .Fn grantpt ,


More information about the svn-src-all mailing list