This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
[Patch] Fix libstdc++/12232
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: libstdc++ at gcc dot gnu dot org
- Cc: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Thu, 02 Oct 2003 12:09:28 +0200
- Subject: [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.
///////////