summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2011-05-02 11:14:12 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2011-05-02 11:14:12 +0000
commit7b5169aecdc8bc1e9e808fb5554246b5ecbd1721 (patch)
tree7c52691b979b92dd793a350026bbe78989c6fc43 /lib
parent4ba9456c14c7069ad770a4c5773beaf7cb9fc06c (diff)
no need to escape `|'; as discussed with schwartze
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/vis.310
-rw-r--r--lib/libc/stdio/fopen.316
2 files changed, 6 insertions, 20 deletions
diff --git a/lib/libc/gen/vis.3 b/lib/libc/gen/vis.3
index cc359b98a64..c031274437c 100644
--- a/lib/libc/gen/vis.3
+++ b/lib/libc/gen/vis.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vis.3,v 1.27 2011/03/14 15:56:48 deraadt Exp $
+.\" $OpenBSD: vis.3,v 1.28 2011/05/02 11:14:11 jmc Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 14 2011 $
+.Dd $Mdocdate: May 2 2011 $
.Dt VIS 3
.Os
.Sh NAME
@@ -180,11 +180,7 @@ Also encode tab.
Also encode newline.
.It Dv VIS_WHITE
Synonym for
-.Dv VIS_SP
-\&|
-.Dv VIS_TAB
-\&|
-.Dv VIS_NL .
+.Dv VIS_SP | VIS_TAB | VIS_NL .
.It Dv VIS_SAFE
Only encode
.Dq unsafe
diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3
index be51398d27e..b406da943ba 100644
--- a/lib/libc/stdio/fopen.3
+++ b/lib/libc/stdio/fopen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fopen.3,v 1.22 2010/03/26 19:30:41 jmc Exp $
+.\" $OpenBSD: fopen.3,v 1.23 2011/05/02 11:14:11 jmc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 26 2010 $
+.Dd $Mdocdate: May 2 2011 $
.Dt FOPEN 3
.Os
.Sh NAME
@@ -103,17 +103,7 @@ to be forced to the current end-of-file, regardless of intervening
repositioning of the stream.
.Pp
Any created files will have mode
-.Pf \*q Dv S_IRUSR
-\&|
-.Dv S_IWUSR
-\&|
-.Dv S_IRGRP
-\&|
-.Dv S_IWGRP
-\&|
-.Dv S_IROTH
-\&|
-.Dv S_IWOTH Ns \*q
+.Qq Dv S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH
.Pq Li 0666 ,
as modified by the process'
umask value (see