[Patch] Fix libstdc++/12232

Paolo Carlini pcarlini@unitus.it
Thu Oct 2 10:09:00 GMT 2003


Hi,

this clean up (or variants of it ;) should be applied as soon as possible
in order not to block more substantive improvements to seekoff and seekpos.

It also allows nice simplifications (e.g., if open succeeds, either
ios_base::in & this->_M_mode is true or ios_base::out & this->_M_mode is
true; low level, lseek, fseek and such never had the equivalent of an
openmode parameter).

Tested x86-linux. Ok with everyone?

Paolo.

///////////



More information about the Libstdc++ mailing list