From: Ulrich Drepper Date: Mon, 16 Mar 1998 15:50:41 +0000 (+0000) Subject: (openpty): Allow the use of more ptys. X-Git-Tag: cvs/before-sparc-2_0_x-branch~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=baacba70f618b245e1682de026f55a697692dea5;p=thirdparty%2Fglibc.git (openpty): Allow the use of more ptys. --- diff --git a/sysdeps/generic/pty.c b/sysdeps/generic/pty.c index 544f4de8f81..eb8c32b4926 100644 --- a/sysdeps/generic/pty.c +++ b/sysdeps/generic/pty.c @@ -75,7 +75,7 @@ openpty(amaster, aslave, name, termp, winp) else ttygid = -1; - for (cp1 = "pqrs"; *cp1; cp1++) { + for (cp1 = "pqrstuvwxyzabcde"; *cp1; cp1++) { line[8] = *cp1; for (cp2 = "0123456789abcdef"; *cp2; cp2++) { line[9] = *cp2;