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++/11305] basic_filebuf::_M_convert_to_external fails to convert single 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=11305



------- Additional Comments From peturr02 at ru dot is  2003-06-24 08:36 -------
Created an attachment (id=4273)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4273&action=view)
Test case

The functions test1, test2 and test3 all cause _M_convert_to_external to be
called with a single character buffer, and these fail. In test4, the same
characters are written successfully, as _M_convert_to_external is passed more
than one character.


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