summaryrefslogtreecommitdiff
path: root/lib/libc/string
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2017-07-03 21:28:48 +0000
committerwiz <wiz@NetBSD.org>2017-07-03 21:28:48 +0000
commit56b14ee00121a3a960d2fbe103c85e147ac57103 (patch)
tree05478e811140b3d30b452dcff8e4df8bdab6e3f8 /lib/libc/string
parent7c0084bd3e3114326ae5e7336142439f1d2a10e1 (diff)
Remove workaround for ancient HTML generation code.
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/strerror.36
-rw-r--r--lib/libc/string/strsep.36
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/string/strerror.3 b/lib/libc/string/strerror.3
index a3d4aaf1808..38b736af90e 100644
--- a/lib/libc/string/strerror.3
+++ b/lib/libc/string/strerror.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: strerror.3,v 1.18 2015/05/09 19:01:53 dholland Exp $
+.\" $NetBSD: strerror.3,v 1.19 2017/07/03 21:32:50 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -121,9 +121,9 @@ and
returns
.Er EINVAL .
Error numbers recognized by this implementation fall in
-the range 0 \*[Lt]
+the range 0 <
.Fa errnum
-\*[Lt]
+<
.Fa sys_nerr .
.Pp
If insufficient storage is provided in
diff --git a/lib/libc/string/strsep.3 b/lib/libc/string/strsep.3
index 6589283e610..e508c78d9ce 100644
--- a/lib/libc/string/strsep.3
+++ b/lib/libc/string/strsep.3
@@ -29,7 +29,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)strsep.3 8.1 (Berkeley) 6/9/93
-.\" $NetBSD: strsep.3,v 1.19 2006/10/16 08:48:45 wiz Exp $
+.\" $NetBSD: strsep.3,v 1.20 2017/07/03 21:32:50 wiz Exp $
.\"
.Dd August 12, 2006
.Dt STRSEP 3
@@ -94,8 +94,8 @@ argument vector:
.Bd -literal -offset indent
char **ap, *argv[10], *inputstring;
-for (ap = argv; ap \*[Lt] \*[Am]argv[9] \*[Am]\*[Am]
- (*ap = strsep(\*[Am]inputstring, " \et")) != NULL;) {
+for (ap = argv; ap < &argv[9] &&
+ (*ap = strsep(&inputstring, " \et")) != NULL;) {
if (**ap != '\e0')
ap++;
}