summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-08-09 00:26:15 +0000
committerderaadt <deraadt@openbsd.org>1996-08-09 00:26:15 +0000
commitd40e16e3f15c061e59b63eb1cae0e48577070468 (patch)
treeb7cfa37939ff767550b7228a864b75987ab4ebbd /lib
parentconsole device becomes ttyC0 (ttyC0-9 for pcvt) to avoid pty conflict (diff)
downloadwireguard-openbsd-d40e16e3f15c061e59b63eb1cae0e48577070468.tar.xz
wireguard-openbsd-d40e16e3f15c061e59b63eb1cae0e48577070468.zip
pty from p to z, P to T. includes v
Diffstat (limited to 'lib')
-rw-r--r--lib/libutil/pty.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/libutil/pty.c b/lib/libutil/pty.c
index b88424defcf..751b3c604e7 100644
--- a/lib/libutil/pty.c
+++ b/lib/libutil/pty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pty.c,v 1.4 1996/06/29 18:44:17 deraadt Exp $ */
+/* $OpenBSD: pty.c,v 1.5 1996/08/09 00:26:15 deraadt Exp $ */
/*-
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
@@ -34,7 +34,7 @@
#if defined(LIBC_SCCS) && !defined(lint)
/* from: static char sccsid[] = "@(#)pty.c 8.1 (Berkeley) 6/4/93"; */
-static char *rcsid = "$Id: pty.c,v 1.4 1996/06/29 18:44:17 deraadt Exp $";
+static char *rcsid = "$Id: pty.c,v 1.5 1996/08/09 00:26:15 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/cdefs.h>
@@ -51,12 +51,7 @@ static char *rcsid = "$Id: pty.c,v 1.4 1996/06/29 18:44:17 deraadt Exp $";
#include "util.h"
-#ifdef i386
-/* PCVT conflicts with ttyv*. */
-#define TTY_LETTERS "pqrstuwxyzPQRST"
-#else
#define TTY_LETTERS "pqrstuvwxyzPQRST"
-#endif
int
openpty(amaster, aslave, name, termp, winp)