Re: g_io_channel_read_chars() loop



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]