diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2005-08-09 19:38:32 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2005-08-09 19:38:32 +0000 |
commit | 37d43a6ee9cff1651397a00f88f10a313035035f (patch) | |
tree | fc1348344f7251e2524391f8ab7cb939cfb6673f /include | |
parent | 6d323bce302cff7a7bf4dbdc3f1e1f485c4810d0 (diff) |
Add VIS_GLOB to escape special characters used by shell-style globbing.
From Solar Designer based on changes in FreeBSD. OK deraadt@
Diffstat (limited to 'include')
-rw-r--r-- | include/vis.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |