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

Re: RFA: libstdc++-v3: Support opening files in append read/writemode


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.



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