This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/11389] Unbuffered wfilebuf fails to read single-byte UTF-8 characters.


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11389



------- Additional Comments From peturr02 at ru dot is  2003-07-01 09:23 -------
Created an attachment (id=4314)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4314&action=view)
Test case

This file contains 4 tests. Tests 1 and 2 show that buffered wfilebuf handles
short files containing only single-byte characters. Test 3 and 4 show that
unbuffered wfilebuf can read a single character from such a file, but not any
more.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]