summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-07-15 20:51:39 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-07-15 20:51:39 +0000
commitd1e3490c2c01c8d4c419a531ccbba23627555a8c (patch)
tree51922fc49afafddf96d2c0f37ca0596c58562981 /lib/libc
parent7f51966fb29bd3bf3348d5e49422c1934fa6949a (diff)
More delimiters that need quoting inside macros, hunted down by jmc@,
who asked me to commit because he is just running out of the door.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/glob.310
-rw-r--r--lib/libc/regex/re_format.710
2 files changed, 10 insertions, 10 deletions
diff --git a/lib/libc/gen/glob.3 b/lib/libc/gen/glob.3
index 7d4621d5307..8f3bb81d53c 100644
--- a/lib/libc/gen/glob.3
+++ b/lib/libc/gen/glob.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: glob.3,v 1.25 2009/03/05 15:13:30 millert Exp $
+.\" $OpenBSD: glob.3,v 1.26 2010/07/15 20:51:38 schwarze Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 5 2009 $
+.Dd $Mdocdate: July 15 2010 $
.Dt GLOB 3
.Os
.Sh NAME
@@ -78,7 +78,7 @@ that contains any of the special characters
.Ql * ,
.Ql \&? ,
or
-.Ql [ .
+.Ql \&[ .
.Pp
The number of matched pathnames is stored in the
.Fa gl_pathc
@@ -239,7 +239,7 @@ if it does not contain any of the special characters
.Ql * ,
.Ql \&? ,
or
-.Ql [ .
+.Ql \&[ .
.Dv GLOB_NOMAGIC
is provided to simplify implementing the historic
.Xr csh 1
@@ -347,7 +347,7 @@ contained any of the special characters
.Ql * ,
.Ql \&? ,
or
-.Ql [ ,
+.Ql \&[ ,
cleared if not.
.It Fa gl_pathv
Contains a pointer to a null-terminated list of matched pathnames.
diff --git a/lib/libc/regex/re_format.7 b/lib/libc/regex/re_format.7
index 0c0928716f4..72887175209 100644
--- a/lib/libc/regex/re_format.7
+++ b/lib/libc/regex/re_format.7
@@ -1,4 +1,4 @@
-.\" $OpenBSD: re_format.7,v 1.14 2007/05/31 19:19:30 jmc Exp $
+.\" $OpenBSD: re_format.7,v 1.15 2010/07/15 20:51:38 schwarze Exp $
.\"
.\" Copyright (c) 1997, Phillip F Knaack. All rights reserved.
.\"
@@ -35,7 +35,7 @@
.\"
.\" @(#)re_format.7 8.3 (Berkeley) 3/20/94
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: July 15 2010 $
.Dt RE_FORMAT 7
.Os
.Sh NAME
@@ -214,7 +214,7 @@ and
.Sq .]
to make it a collating element (see below).
With the exception of these and some combinations using
-.Sq [
+.Sq \&[
(see next paragraphs),
all other special characters, including
.Sq \e ,
@@ -539,7 +539,7 @@ The parentheses for nested subexpressions are
and
.Sq \e) ,
with
-.Sq (
+.Sq \&(
and
.Sq )\&
by themselves ordinary characters.
@@ -733,7 +733,7 @@ Having two kinds of REs is a botch.
The current POSIX spec says that
.Sq )\&
is an ordinary character in the absence of an unmatched
-.Sq ( ;
+.Sq \&( ;
this was an unintentional result of a wording error,
and change is likely.
Avoid relying on it.