* coding.h (struct coding_system): Make safe_charsets a pointer to
authorAndreas Schwab <schwab@suse.de>
Sun, 22 Feb 2009 15:48:02 +0000 (15:48 +0000)
committerAndreas Schwab <schwab@suse.de>
Sun, 22 Feb 2009 15:48:02 +0000 (15:48 +0000)
commit1b3b981ba9f1781d3054f10e2fa9b1a330c68268
tree3728d47b1f005a45a8092e5f9e6904d618e9d071
parentb3b58c01900f2c028f00d4aa8d432cdc53f072be
* coding.h (struct coding_system): Make safe_charsets a pointer to
unsigned char.
* coding.c (CODING_ISO_REQUEST): Check for safe_charsets content
being 255.
(SAFE_CHARSET_P): Likewise.
(setup_iso_safe_charsets): Properly setup safe_charsets.
(Fdefine_coding_system_internal): Likewise.
(setup_coding_system): Likewise.  Remove unneeded casts.
(detect_coding_iso_2022): Compare Viso_2022_charset_list with
CODING_ATTR_CHARSET_LIST, not CODING_ATTR_SAFE_CHARSETS.  Remove
unneeded casts.
src/ChangeLog
src/coding.c
src/coding.h