Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2009 20:12:29 +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: r188697 - head/sys/dev/streams
Message-ID:  <200902162012.n1GKCTQi091537@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Mon Feb 16 20:12:28 2009
New Revision: 188697
URL: http://svn.freebsd.org/changeset/base/188697

Log:
  The streams ptm code is pretty awful and likely incorrect. I don't know
  anything about streams, so I'm not going to fix it. Just a small comment
  to redirect folks to posix_openpt().

Modified:
  head/sys/dev/streams/streams.c

Modified: head/sys/dev/streams/streams.c
==============================================================================
--- head/sys/dev/streams/streams.c	Mon Feb 16 20:04:57 2009	(r188696)
+++ head/sys/dev/streams/streams.c	Mon Feb 16 20:12:28 2009	(r188697)
@@ -288,6 +288,8 @@ svr4_ptm_alloc(td)
 	 * 
 	 * Cycle through the names. If sys_open() returns ENOENT (or
 	 * ENXIO), short circuit the cycle and exit.
+	 *
+	 * XXX: Maybe this can now be implemented by posix_openpt()?
 	 */
 	static char ptyname[] = "/dev/ptyXX";
 	static char ttyletters[] = "pqrstuwxyzPQRST";



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