summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2005-07-13 19:15:08 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2005-07-13 19:15:08 +0000
commit4f094a3535eda1fc15555ae8ea0db8b74ac437ed (patch)
tree483037f11e10088487526794f4abbc9fea718cb1 /lib
parentd3f73890db9153a5eabf3a9247dac6edecffec9b (diff)
Correct ctype classifications of chars >= 0x80 wrt C99/POSIX and our
man page. ok espie@ deraadt@
Diffstat (limited to 'lib')
-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 */