Re: g_io_channel_read_chars() loop
- From: Ron Steinke <rsteinke w-link net>
- To: jlbec evilplan org, rsteinke w-link net
- Cc: gtk-devel-list gnome org
- Subject: Re: g_io_channel_read_chars() loop
- Date: Fri, 10 Aug 2001 08:01:28 -0700
Joel,
If g_io_channel_read_char is looping endlesly looking for a character
terminator, that means it's encountered an invalid wide character
whose first byte is -1 or -2. The trick is finding where else in the
code the contents of encoded_read_buf are being corrupted. I've
commited a diff with an assert which should at least catch the looping
behavior, along with a probably unrelated bug fix.
Ron
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]