diff options
author | 2017-10-04 18:19:25 +0000 | |
---|---|---|
committer | 2017-10-04 18:19:25 +0000 | |
commit | 76647e855b111a784452bda3642b568ea8b00602 (patch) | |
tree | 1b868ea81df8a56b4f7e5059e0eda6defd0d597c /lib/libc | |
parent | inetd needs cpath pledge to unlink unix socket at program termination. (diff) | |
download | wireguard-openbsd-76647e855b111a784452bda3642b568ea8b00602.tar.xz wireguard-openbsd-76647e855b111a784452bda3642b568ea8b00602.zip |
iscntrl(0) is != 0 at least since Version 7 AT&T UNIX, and POSIX
requires that, too (in XBD 7.3.1), even though the C standard
leaves it implementation-defined;
found during my kcgi audit on behalf of CAPEM;
OK deraadt (stupid me forgot to commit before lock).
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/iscntrl.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/iscntrl.3 b/lib/libc/gen/iscntrl.3 index 191c9cc24b6..c28e2086e1a 100644 --- a/lib/libc/gen/iscntrl.3 +++ b/lib/libc/gen/iscntrl.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: iscntrl.3,v 1.12 2017/09/05 03:16:13 schwarze Exp $ +.\" $OpenBSD: iscntrl.3,v 1.13 2017/10/04 18:19:25 schwarze Exp $ .\" .\" Copyright (c) 1991 The Regents of the University of California. .\" Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org> @@ -32,7 +32,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: September 5 2017 $ +.Dd $Mdocdate: October 4 2017 $ .Dt ISCNTRL 3 .Os .Sh NAME @@ -53,7 +53,7 @@ and functions tests for any control character. .Pp In the C locale, the complete list of control characters -consists of the characters numbered 0x01\(en0x1f and 0x7f. +consists of the characters numbered 0x00\(en0x1f and 0x7f. .Ox always uses the C locale for these functions, ignoring the global locale, the thread-specific locale, and the |