This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

[Patch] Fix libstdc++/12232


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.

///////////


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