[PATCH] Robust basic_filebuf::imbue

David Krauss potswa@mac.com
Tue Oct 12 10:22:00 GMT 2010


Yikes, there was some very unfortunate commenting in those testcases!

Furthermore, when I uncommented that, one of them failed! But I don't think the bug is in the current code, it's preexisting in basic_filebuf::seekoff, and looks related to something I was already aware of and wanting to fix. It is not returning the correct state with the position in unbuffered mode. So, for now I'm "adding a regression." Will add a fix in a separate patchfile after sleep.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: filebuf_imbue.clog
Type: application/octet-stream
Size: 745 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20101012/80040df3/attachment.obj>
-------------- next part --------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: filebuf_imbue.patch
Type: application/octet-stream
Size: 25881 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20101012/80040df3/attachment-0001.obj>


More information about the Libstdc++ mailing list