Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/tip/aculib PR 51192 David Binderman: fix wrong logic...



details:   https://anonhg.NetBSD.org/src/rev/c630aff41d9d
branches:  trunk
changeset: 816318:c630aff41d9d
user:      dholland <dholland%NetBSD.org@localhost>
date:      Thu Jun 30 05:56:46 2016 +0000

description:
PR 51192 David Binderman: fix wrong logic (probably)

XXX: this file should probably just be deleted

diffstat:

 usr.bin/tip/aculib/v831.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a17cac07a6df -r c630aff41d9d usr.bin/tip/aculib/v831.c
--- a/usr.bin/tip/aculib/v831.c Thu Jun 30 05:34:04 2016 +0000
+++ b/usr.bin/tip/aculib/v831.c Thu Jun 30 05:56:46 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: v831.c,v 1.12 2006/12/14 17:09:43 christos Exp $       */
+/*     $NetBSD: v831.c,v 1.13 2016/06/30 05:56:46 dholland Exp $       */
 
 /*
  * Copyright (c) 1983, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)v831.c     8.1 (Berkeley) 6/6/93";
 #endif
-__RCSID("$NetBSD: v831.c,v 1.12 2006/12/14 17:09:43 christos Exp $");
+__RCSID("$NetBSD: v831.c,v 1.13 2016/06/30 05:56:46 dholland Exp $");
 #endif /* not lint */
 
 /*
@@ -249,7 +249,7 @@
         char *cp;
 
         for (cp = buf; *s && buf + sizeof buf - cp > 1; s++) {
-               if (!isdigit((unsigned char)*s) && *s == '<' && *s != '_')
+               if (!isdigit((unsigned char)*s) && *s != '<' && *s != '_')
                        continue;
                if (*s == '_')
                        *s = '=';



Home | Main Index | Thread Index | Old Index