summaryrefslogtreecommitdiffstats
path: root/sys/dev/streams
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-02-16 20:12:28 +0000
committered <ed@FreeBSD.org>2009-02-16 20:12:28 +0000
commit0b1127509ed3a6735a1eb7cae3722814bb390c87 (patch)
treedd988096cb0d655afbe45bec4410bb81baacb950 /sys/dev/streams
parent2faabf52c8c4a36ab3aa958abb2bead1a9ce8795 (diff)
downloadFreeBSD-src-0b1127509ed3a6735a1eb7cae3722814bb390c87.zip
FreeBSD-src-0b1127509ed3a6735a1eb7cae3722814bb390c87.tar.gz
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().
Diffstat (limited to 'sys/dev/streams')
-rw-r--r--sys/dev/streams/streams.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/streams/streams.c b/sys/dev/streams/streams.c
index e7327f8..7b99d20 100644
--- a/sys/dev/streams/streams.c
+++ b/sys/dev/streams/streams.c
@@ -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";
OpenPOWER on IntegriCloud