Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 May 2009 18:14:45 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r191789 - head/lib/libc/stdlib
Message-ID:  <200905041814.n44IEjn5052898@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 ,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905041814.n44IEjn5052898>