summaryrefslogtreecommitdiff
path: root/src/regress/lib/libc/vis
diff options
context:
space:
mode:
authormillert <>2015-07-20 01:52:28 +0000
committermillert <>2015-07-20 01:52:28 +0000
commitfbc67b2d2e682a513c9274c360fbb0ba7409639f (patch)
tree9dff15a243722e109bb1dc869646706d9c193fc2 /src/regress/lib/libc/vis
parent4f92bf3803a057f24c8fda4c2ce12e559c845602 (diff)
downloadopenbsd-fbc67b2d2e682a513c9274c360fbb0ba7409639f.tar.gz
openbsd-fbc67b2d2e682a513c9274c360fbb0ba7409639f.tar.bz2
openbsd-fbc67b2d2e682a513c9274c360fbb0ba7409639f.zip
Add VIS_DQ to escape double quotes. OK deraadt@ semarie@ reyk@
Diffstat (limited to 'src/regress/lib/libc/vis')
-rw-r--r--src/regress/lib/libc/vis/vis_test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/regress/lib/libc/vis/vis_test.c b/src/regress/lib/libc/vis/vis_test.c
index 74113e7a61..61c6edbd37 100644
--- a/src/regress/lib/libc/vis/vis_test.c
+++ b/src/regress/lib/libc/vis/vis_test.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: vis_test.c,v 1.3 2011/03/13 22:12:37 deraadt Exp $ */ 1/* $OpenBSD: vis_test.c,v 1.4 2015/07/20 01:52:28 millert Exp $ */
2 2
3/* Public domain. 2005, Otto Moerbeek */ 3/* Public domain. 2005, Otto Moerbeek */
4 4
@@ -20,6 +20,7 @@ int flags[] = {
20 VIS_GLOB, 20 VIS_GLOB,
21 VIS_TAB, 21 VIS_TAB,
22 VIS_NL, 22 VIS_NL,
23 VIS_DQ,
23 VIS_WHITE, 24 VIS_WHITE,
24 VIS_SAFE 25 VIS_SAFE
25}; 26};
@@ -29,6 +30,7 @@ char *flagname[] = {
29 "VIS_GLOB", 30 "VIS_GLOB",
30 "VIS_TAB", 31 "VIS_TAB",
31 "VIS_NL", 32 "VIS_NL",
33 "VIS_DQ",
32 "VIS_WHITE", 34 "VIS_WHITE",
33 "VIS_SAFE" 35 "VIS_SAFE"
34}; 36};