Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/gen Remove \$ as a hidden marker as vis(3) wasn't s...



details:   https://anonhg.NetBSD.org/src/rev/f546967fbb2c
branches:  trunk
changeset: 802666:f546967fbb2c
user:      roy <roy%NetBSD.org@localhost>
date:      Fri Sep 26 13:03:22 2014 +0000

description:
Remove \$ as a hidden marker as vis(3) wasn't setting it
and it clobbered VIS_SHELL | VIS_CSTYLE.

diffstat:

 lib/libc/gen/unvis.c |  10 ++--------
 1 files changed, 2 insertions(+), 8 deletions(-)

diffs (31 lines):

diff -r 0c26ac6ad673 -r f546967fbb2c lib/libc/gen/unvis.c
--- a/lib/libc/gen/unvis.c      Fri Sep 26 12:59:28 2014 +0000
+++ b/lib/libc/gen/unvis.c      Fri Sep 26 13:03:22 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: unvis.c,v 1.42 2014/09/26 12:59:28 roy Exp $   */
+/*     $NetBSD: unvis.c,v 1.43 2014/09/26 13:03:22 roy Exp $   */
 
 /*-
  * Copyright (c) 1989, 1993
@@ -34,7 +34,7 @@
 #if 0
 static char sccsid[] = "@(#)unvis.c    8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: unvis.c,v 1.42 2014/09/26 12:59:28 roy Exp $");
+__RCSID("$NetBSD: unvis.c,v 1.43 2014/09/26 13:03:22 roy Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -307,12 +307,6 @@
                         */
                        *astate = SS(0, S_GROUND);
                        return UNVIS_NOCHAR;
-               case '$':
-                       /*
-                        * hidden marker
-                        */
-                       *astate = SS(0, S_GROUND);
-                       return UNVIS_NOCHAR;
                default:
                        if (isgraph(c)) {
                                *cp = c;



Home | Main Index | Thread Index | Old Index