Source-Changes-HG archive

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

[src/netbsd-6]: src/usr.bin/systat Pull up following revision(s) (requested b...



details:   https://anonhg.NetBSD.org/src/rev/8a257dfb0bd0
branches:  netbsd-6
changeset: 776481:8a257dfb0bd0
user:      bouyer <bouyer%NetBSD.org@localhost>
date:      Sun Oct 20 13:32:45 2013 +0000

description:
Pull up following revision(s) (requested by dholland in ticket #968):
        usr.bin/systat/keyboard.c: revision 1.25
No David, '\?' is not the del character.  Broken in rev 1.21.
XXX pullup-5, pullup-6.

diffstat:

 usr.bin/systat/keyboard.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9556ca108162 -r 8a257dfb0bd0 usr.bin/systat/keyboard.c
--- a/usr.bin/systat/keyboard.c Sun Oct 20 13:29:37 2013 +0000
+++ b/usr.bin/systat/keyboard.c Sun Oct 20 13:32:45 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: keyboard.c,v 1.24 2007/12/31 00:22:14 christos Exp $   */
+/*     $NetBSD: keyboard.c,v 1.24.28.1 2013/10/20 13:32:45 bouyer Exp $        */
 
 /*-
  * Copyright (c) 1980, 1992, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)keyboard.c 8.1 (Berkeley) 6/6/93";
 #endif
-__RCSID("$NetBSD: keyboard.c,v 1.24 2007/12/31 00:22:14 christos Exp $");
+__RCSID("$NetBSD: keyboard.c,v 1.24.28.1 2013/10/20 13:32:45 bouyer Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -121,7 +121,7 @@
                                }
                                continue;
                        }
-                       if (ch == '\b' || ch == '\?' || ch == erasechar()) {
+                       if (ch == '\b' || ch == '\177' || ch == erasechar()) {
                                if (col > 0)
                                        col--;
                                goto doerase;



Home | Main Index | Thread Index | Old Index