From owner-svn-src-head@FreeBSD.ORG Mon May 4 18:14:45 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1EFF1065670; Mon, 4 May 2009 18:14:45 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D0C628FC24; Mon, 4 May 2009 18:14:45 +0000 (UTC) (envelope-from ed@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n44IEj9K052899; Mon, 4 May 2009 18:14:45 GMT (envelope-from ed@svn.freebsd.org) Received: (from ed@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n44IEjn5052898; Mon, 4 May 2009 18:14:45 GMT (envelope-from ed@svn.freebsd.org) Message-Id: <200905041814.n44IEjn5052898@svn.freebsd.org> From: Ed Schouten Date: Mon, 4 May 2009 18:14:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r191789 - head/lib/libc/stdlib X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2009 18:14:46 -0000 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 ,