about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--locale/C-ctype.c178
2 files changed, 93 insertions, 89 deletions
diff --git a/ChangeLog b/ChangeLog
index 304761c580..ccf137f68e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2000-01-04  Ulrich Drepper  <drepper@cygnus.com>
 
+	* locale/C-ctype.c (_nl_C_LC_CTYPE_class): Clear ISNCTRL bit for
+	characters >= 0x80.
+	(_nl_C_LC_CTYPE_class32): Likewise.
+
 	* rt/aio.h (struct aioinit): Replace one aio_reserved value with
 	aio_idle_time.
 	* rt/aio_misc.c: Rewrite to not automatically terminate worker threads
diff --git a/locale/C-ctype.c b/locale/C-ctype.c
index e7da5d4d95..fa05b3e55f 100644
--- a/locale/C-ctype.c
+++ b/locale/C-ctype.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1995-1999, 2000 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1995.
 
@@ -29,28 +29,28 @@
    is set to always return 0 and the conversion arrays return EOF.  */
 
 const char _nl_C_LC_CTYPE_class[768] =
-  /* 0x80 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0x86 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0x8c */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0x92 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0x98 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0x9e */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xa4 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xaa */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xb0 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xb6 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xbc */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xc2 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xc8 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xce */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xd4 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xda */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xe0 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xe6 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xec */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xf2 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xf8 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xfe */ "\002\000" "\000\000" "\002\000" "\002\000" "\002\000" "\002\000"
+  /* 0x80 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0x86 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0x8c */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0x92 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0x98 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0x9e */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xa4 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xaa */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xb0 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xb6 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xbc */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xc2 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xc8 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xce */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xd4 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xda */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xe0 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xe6 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xec */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xf2 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xf8 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xfe */ "\000\000" "\000\000" "\002\000" "\002\000" "\002\000" "\002\000"
   /* 0x04 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\003\040"
   /* 0x0a */ "\002\040" "\002\040" "\002\040" "\002\040" "\002\000" "\002\000"
   /* 0x10 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
@@ -71,28 +71,28 @@ const char _nl_C_LC_CTYPE_class[768] =
   /* 0x6a */ "\010\306" "\010\306" "\010\306" "\010\306" "\010\306" "\010\306"
   /* 0x70 */ "\010\306" "\010\306" "\010\306" "\010\306" "\010\306" "\010\306"
   /* 0x76 */ "\010\306" "\010\306" "\010\306" "\010\306" "\010\306" "\004\300"
-  /* 0x7c */ "\004\300" "\004\300" "\004\300" "\002\000" "\002\000" "\002\000"
-  /* 0x82 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0x88 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0x8e */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0x94 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0x9a */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xa0 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xa6 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xac */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xb2 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xb8 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xbe */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xc4 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xca */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xd0 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xd6 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xdc */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xe2 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xe8 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xee */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xf4 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
-  /* 0xfa */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
+  /* 0x7c */ "\004\300" "\004\300" "\004\300" "\002\000" "\000\000" "\000\000"
+  /* 0x82 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0x88 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0x8e */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0x94 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0x9a */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xa0 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xa6 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xac */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xb2 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xb8 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xbe */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xc4 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xca */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xd0 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xd6 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xdc */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xe2 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xe8 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xee */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xf4 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
+  /* 0xfa */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
 ;
 const char _nl_C_LC_CTYPE_class32[1024] =
   /* 0x00 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
@@ -137,50 +137,50 @@ const char _nl_C_LC_CTYPE_class32[1024] =
   /* 0x75 */ "\000\000\010\306" "\000\000\010\306" "\000\000\010\306"
   /* 0x78 */ "\000\000\010\306" "\000\000\010\306" "\000\000\010\306"
   /* 0x7b */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
-  /* 0x7e */ "\000\000\004\300" "\000\000\002\000" "\000\000\002\000"
-  /* 0x81 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0x84 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0x87 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0x8a */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0x8d */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0x90 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0x93 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0x96 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0x99 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0x9c */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0x9f */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xa2 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xa5 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xa8 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xab */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xae */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xb1 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xb4 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xb7 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xba */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xbd */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xc0 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xc3 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xc6 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xc9 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xcc */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xcf */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xd2 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xd5 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xd8 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xdb */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xde */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xe1 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xe4 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xe7 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xea */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xed */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xf0 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xf3 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xf6 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xf9 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xfc */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
-  /* 0xff */ "\000\000\002\000"
+  /* 0x7e */ "\000\000\004\300" "\000\000\002\000" "\000\000\000\000"
+  /* 0x81 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0x84 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0x87 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0x8a */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0x8d */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0x90 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0x93 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0x96 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0x99 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0x9c */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0x9f */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xa2 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xa5 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xa8 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xab */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xae */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xb1 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xb4 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xb7 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xba */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xbd */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xc0 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xc3 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xc6 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xc9 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xcc */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xcf */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xd2 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xd5 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xd8 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xdb */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xde */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xe1 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xe4 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xe7 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xea */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xed */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xf0 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xf3 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xf6 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xf9 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xfc */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
+  /* 0xff */ "\000\000\000\000"
 ;
 const uint32_t _nl_C_LC_CTYPE_toupper[384] =
 {