svn commit: r188697 - head/sys/dev/streams

Ed Schouten ed at FreeBSD.org
Mon Feb 16 12:12:29 PST 2009


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";


More information about the svn-src-head mailing list