Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen Cannot encode \$ in VIS_CSTYLE as that looks li...
details: https://anonhg.NetBSD.org/src/rev/10dcb0cba596
branches: trunk
changeset: 332531:10dcb0cba596
user: roy <roy%NetBSD.org@localhost>
date: Fri Sep 26 15:58:59 2014 +0000
description:
Cannot encode \$ in VIS_CSTYLE as that looks like `vis -l` encoding.
diffstat:
lib/libc/gen/vis.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 7ad0f7a0506a -r 10dcb0cba596 lib/libc/gen/vis.c
--- a/lib/libc/gen/vis.c Fri Sep 26 15:43:36 2014 +0000
+++ b/lib/libc/gen/vis.c Fri Sep 26 15:58:59 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vis.c,v 1.65 2014/09/26 13:48:00 roy Exp $ */
+/* $NetBSD: vis.c,v 1.66 2014/09/26 15:58:59 roy Exp $ */
/*-
* Copyright (c) 1989, 1993
@@ -57,7 +57,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: vis.c,v 1.65 2014/09/26 13:48:00 roy Exp $");
+__RCSID("$NetBSD: vis.c,v 1.66 2014/09/26 15:58:59 roy Exp $");
#endif /* LIBC_SCCS and not lint */
#ifdef __FBSDID
__FBSDID("$FreeBSD$");
@@ -229,6 +229,7 @@
case L'0':
case L'M':
case L'^':
+ case L'$': /* vis(1) -l */
break;
default:
if (iswgraph(c) && !iswoctal(c)) {
Home |
Main Index |
Thread Index |
Old Index