diff options
| author | andrew <andrew@NetBSD.org> | 1994-04-06 08:54:35 +0000 |
|---|---|---|
| committer | andrew <andrew@NetBSD.org> | 1994-04-06 08:54:35 +0000 |
| commit | fc3e00430e6edaedca905350adbb35add229e5ff (patch) | |
| tree | b53318e38632fa25bfcdcd6753501638f04180b2 /lib/libutil | |
| parent | 6b0345e8e447338394da6a3b4510ddeede2851fa (diff) | |
Support up to 256 ptys.
Diffstat (limited to 'lib/libutil')
| -rw-r--r-- | lib/libutil/pty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libutil/pty.c b/lib/libutil/pty.c index bee86bd68a9..3d78d4b7073 100644 --- a/lib/libutil/pty.c +++ b/lib/libutil/pty.c @@ -33,7 +33,7 @@ #if defined(LIBC_SCCS) && !defined(lint) /*static char sccsid[] = "from: @(#)pty.c 5.6 (Berkeley) 5/10/91";*/ -static char rcsid[] = "$Id: pty.c,v 1.2 1993/08/01 18:31:48 mycroft Exp $"; +static char rcsid[] = "$Id: pty.c,v 1.3 1994/04/06 08:54:35 andrew Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/cdefs.h> @@ -64,7 +64,7 @@ openpty(amaster, aslave, name, termp, winp) else ttygid = -1; - for (cp1 = "pqrs"; *cp1; cp1++) { + for (cp1 = "pqrstuvwxyzPQRST"; *cp1; cp1++) { line[8] = *cp1; for (cp2 = "0123456789abcdef"; *cp2; cp2++) { line[9] = *cp2; |
