summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2005-07-13 19:15:07 +0000
committerotto <otto@openbsd.org>2005-07-13 19:15:07 +0000
commitc158c8a008465b51ba45e3c5bb54280731518218 (patch)
tree61f4f2e08041228a0402ed452fa89bf3c4e258a2
parentadd cvs_rcs_getpath() function. Returns the path of the RCS file if it (diff)
downloadwireguard-openbsd-c158c8a008465b51ba45e3c5bb54280731518218.tar.xz
wireguard-openbsd-c158c8a008465b51ba45e3c5bb54280731518218.zip
Correct ctype classifications of chars >= 0x80 wrt C99/POSIX and our
man page. ok espie@ deraadt@
-rw-r--r--lib/libc/gen/ctype_.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/ctype_.c b/lib/libc/gen/ctype_.c
index 126d715258c..269725af513 100644
--- a/lib/libc/gen/ctype_.c
+++ b/lib/libc/gen/ctype_.c
@@ -33,7 +33,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: ctype_.c,v 1.6 2003/06/02 20:18:34 millert Exp $";
+static char rcsid[] = "$OpenBSD: ctype_.c,v 1.7 2005/07/13 19:15:07 otto Exp $";
#endif /* LIBC_SCCS and not lint */
#include <ctype.h>
@@ -65,10 +65,10 @@ const char _C_ctype_[1 + 256] = {
_L, _L, _L, _P, _P, _P, _P, _C,
_C, _C, _C, _C, _C, _C, _C, _C, /* 80 */
- _C, _C|_S, _C|_S, _C|_S, _C|_S, _C|_S, _C, _C, /* 88 */
+ _C, _C, _C, _C, _C, _C, _C, _C, /* 88 */
_C, _C, _C, _C, _C, _C, _C, _C, /* 90 */
_C, _C, _C, _C, _C, _C, _C, _C, /* 98 */
- _S|(char)_B, _P, _P, _P, _P, _P, _P, _P, /* A0 */
+ _P, _P, _P, _P, _P, _P, _P, _P, /* A0 */
_P, _P, _P, _P, _P, _P, _P, _P, /* A8 */
_P, _P, _P, _P, _P, _P, _P, _P, /* B0 */
_P, _P, _P, _P, _P, _P, _P, _P, /* B8 */