Remove \$ as a hidden marker as vis(3) wasn't setting it

and it clobbered VIS_SHELL | VIS_CSTYLE.
This commit is contained in:
roy 2014-09-26 13:03:22 +00:00
parent 6439e61ed3
commit a85407d2f2
1 changed files with 2 additions and 8 deletions

View File

@ -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 @@ unvis(char *cp, int c, int *astate, int flag)
*/
*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;