3e148838af
* fhandler_console.cc (dev_console::con_to_str): Return number of multibyte char bytes. (fhandler_console::read): Set nread to number of multibyte char bytes returned from con_to_str. (fhandler_console::write_normal): Reorder trunc buffer preocessing. Return after writing valid multibyte sequence out of trunc buffer. Change comments slightly.
THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cygwin documentation is available on the net at http://cygwin.com You might especially be interested in http://cygwin.com/faq/faq.programming.html#faq.programming.building-cygwin