Patch for get_word - please look
Chris Brannon
chris at the-brannons.com
Thu Jul 12 07:14:08 EDT 2012
"Bohdan R. Rau" <ethanak at polip.com> writes:
> Originally function get_word operates with signed char and compares it
> numerically with SPACE to check, if this character may be part of
> word. It is true only for 7-bit characters, accented letters (with
> most significant bit set) will be treated as negative
Hi,
Yes, I see the problem. How should get_word be rewritten? Your patch
does a lot of casting. Could we eliminate all that with a get_u_char
function, or similar?
-- Chris
More information about the Speakup
mailing list