mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-18 20:00:36 -08:00
* 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.
This commit is contained in:
parent
b3b58c0190
commit
1b3b981ba9
3 changed files with 32 additions and 18 deletions
|
|
@ -391,7 +391,7 @@ struct coding_system
|
|||
} spec;
|
||||
|
||||
int max_charset_id;
|
||||
char *safe_charsets;
|
||||
unsigned char *safe_charsets;
|
||||
|
||||
/* The following two members specify how binary 8-bit code 128..255
|
||||
are represented in source and destination text respectively. 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue