This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: libstdc++-v3: Support opening files in append read/writemode
- From: Paolo Carlini <pcarlini at unitus dot it>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: bkoz <bkoz at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 29 Jul 2003 09:36:06 +0200
- Subject: Re: RFA: libstdc++-v3: Support opening files in append read/writemode
- References: <m37k61u7in.fsf@redhat.com>
Nick Clifton wrote:
Hi Guys,
Please may I have permission to apply the following patch ? It
allows files to be opened with a mode of (ios_base::in |
ios_base::out | ios_base::app) which translates into an fopen() call
with a mode of "a+".
This is clearly not allowed by the ISO standard (see 27.8.1.3, Table92, or, f.i., Josuttis, p.632 for details).
Paolo.