diff options
author | ed <ed@FreeBSD.org> | 2009-02-16 20:12:28 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-02-16 20:12:28 +0000 |
commit | 0b1127509ed3a6735a1eb7cae3722814bb390c87 (patch) | |
tree | dd988096cb0d655afbe45bec4410bb81baacb950 /sys/dev/streams/streams.c | |
parent | 2faabf52c8c4a36ab3aa958abb2bead1a9ce8795 (diff) | |
download | FreeBSD-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/streams.c')
-rw-r--r-- | sys/dev/streams/streams.c | 2 |
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"; |