diff options
author | jhb <jhb@FreeBSD.org> | 2007-12-13 00:08:59 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2007-12-13 00:08:59 +0000 |
commit | 4a8d2d68f1782a15667d3e83380e8fa84145a1d4 (patch) | |
tree | 4016804292ab0cba3fb70422d9a63147b6870030 /lib/libc | |
parent | 8b217e6ecaf405cf25084a821dff769b9bc981ff (diff) | |
download | FreeBSD-src-4a8d2d68f1782a15667d3e83380e8fa84145a1d4.zip FreeBSD-src-4a8d2d68f1782a15667d3e83380e8fa84145a1d4.tar.gz |
Update posix_openpt(3) to handle 512 ptys. This was missed in the earlier
pty(4) changes.
MFC after: 3 days
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/stdlib/grantpt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/grantpt.c b/lib/libc/stdlib/grantpt.c index f6f31b2..ce67492 100644 --- a/lib/libc/stdlib/grantpt.c +++ b/lib/libc/stdlib/grantpt.c @@ -63,10 +63,10 @@ __FBSDID("$FreeBSD$"); /* * The following are range values for pseudo TTY devices. Pseudo TTYs have a - * name of /dev/[pt]ty[p-sP-S][0-9a-v], yielding 256 combinations per major. + * name of /dev/[pt]ty[l-sL-S][0-9a-v], yielding 256 combinations per major. */ #define PT_MAX 256 -#define PT_DEV1 "pqrsPQRS" +#define PT_DEV1 "pqrsPQRSlmnoLMNO" #define PT_DEV2 "0123456789abcdefghijklmnopqrstuv" /* |