From 37d43a6ee9cff1651397a00f88f10a313035035f Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 9 Aug 2005 19:38:32 +0000 Subject: Add VIS_GLOB to escape special characters used by shell-style globbing. From Solar Designer based on changes in FreeBSD. OK deraadt@ --- include/vis.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/vis.h b/include/vis.h index 8f77787d81d..8ab3e694d7a 100644 --- a/include/vis.h +++ b/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 -- cgit v1.2.3