This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/11305] basic_filebuf::_M_convert_to_external fails to convert single characters.
- From: "peturr02 at ru dot is" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jun 2003 08:36:46 -0000
- Subject: [Bug libstdc++/11305] basic_filebuf::_M_convert_to_external fails to convert single characters.
- References: <20030624083204.11305.peturr02@ru.is>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.