(XTread_socket): Disable composition handling.

This commit is contained in:
Kenichi Handa 2002-07-09 00:00:18 +00:00
parent 1b59dca98b
commit d7bbc42e73

View file

@ -10569,6 +10569,10 @@ XTread_socket (sd, bufp, numchars, expected)
require = decoding_buffer_size (&coding, nbytes);
p = (unsigned char *) alloca (require);
coding.mode |= CODING_MODE_LAST_BLOCK;
/* We explicitely disable composition
handling because key data should not
contain any composition sequence. */
coding.composing = COMPOSITION_DISABLED;
decode_coding (&coding, copy_bufptr, p,
nbytes, require);
nbytes = coding.produced;