+2006-10-25 Paul Eggert <eggert@cs.ucla.edu>
+
+ * lib/mbchar.h (is_basic_table): Make read-only.
+ * lib/mbchar.c (is_basic_table): Likewise.
+ Reported by John Darrington.
+
2006-10-25 Bruno Haible <bruno@clisp.org>
* lib/progname.h (set_program_name): Undefine before defining.
#if IS_BASIC_ASCII
/* Bit table of characters in the ISO C "basic character set". */
-unsigned int is_basic_table [UCHAR_MAX / 32 + 1] =
+const unsigned int is_basic_table [UCHAR_MAX / 32 + 1] =
{
0x00001a00, /* '\t' '\v' '\f' */
0xffffffef, /* ' '...'#' '%'...'?' */
/* The character set is ISO-646, not EBCDIC. */
# define IS_BASIC_ASCII 1
-extern unsigned int is_basic_table[];
+extern const unsigned int is_basic_table[];
static inline bool
is_basic (char c)