From 910fc384eb2d4beac68b32a87f72537e1030519e Mon Sep 17 00:00:00 2001 From: millert <> Date: Tue, 9 Aug 2005 19:38:31 +0000 Subject: [PATCH] Add VIS_GLOB to escape special characters used by shell-style globbing. From Solar Designer based on changes in FreeBSD. OK deraadt@ --- src/include/vis.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/include/vis.h b/src/include/vis.h index 8f77787d..8ab3e694 100644 --- a/src/include/vis.h +++ b/src/include/vis.h @@ -1,4 +1,4 @@ -/* $OpenBSD: vis.h,v 1.10 2004/10/17 20:25:31 otto Exp $ */ +/* $OpenBSD: vis.h,v 1.11 2005/08/09 19:38:31 millert Exp $ */ /* $NetBSD: vis.h,v 1.4 1994/10/26 00:56:41 cgd Exp $ */ /*- @@ -55,6 +55,7 @@ * other */ #define VIS_NOSLASH 0x40 /* inhibit printing '\' */ +#define VIS_GLOB 0x100 /* encode glob(3) magics and '#' */ /* * unvis return codes