Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libutil revert over-zealous pcvt cull; we still need to ...



details:   https://anonhg.NetBSD.org/src/rev/e876c2ed93f7
branches:  trunk
changeset: 509679:e876c2ed93f7
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu May 10 01:57:47 2001 +0000

description:
revert over-zealous pcvt cull; we still need to skip ttyv* whilst pccons uses
ttyv0 on some ports (currently; arm32, bebox, i386, prep).  should fix PR 12862.

diffstat:

 lib/libutil/pty.c |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 3d044d72ab3f -r e876c2ed93f7 lib/libutil/pty.c
--- a/lib/libutil/pty.c Thu May 10 01:54:30 2001 +0000
+++ b/lib/libutil/pty.c Thu May 10 01:57:47 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pty.c,v 1.16 2000/07/10 11:16:38 ad Exp $      */
+/*     $NetBSD: pty.c,v 1.17 2001/05/10 01:57:47 lukem Exp $   */
 
 /*-
  * Copyright (c) 1990, 1993, 1994
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)pty.c      8.3 (Berkeley) 5/16/94";
 #else
-__RCSID("$NetBSD: pty.c,v 1.16 2000/07/10 11:16:38 ad Exp $");
+__RCSID("$NetBSD: pty.c,v 1.17 2001/05/10 01:57:47 lukem Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -56,7 +56,10 @@
 #include <unistd.h>
 #include <util.h>
 
-#define TTY_LETTERS    "pqrstuvwxyzPQRST"
+/*
+ * XXX: `v' removed until no ports are using console devices which use ttyv0
+ */
+#define TTY_LETTERS    "pqrstuwxyzPQRST"
 
 int
 openpty(int *amaster, int *aslave, char *name, struct termios *termp, 



Home | Main Index | Thread Index | Old Index