This is the mail archive of the libstdc++@sourceware.cygnus.com 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]

Re: basic_file.cc



> I cam across what seemed an incompatibility between what the standard says
> and what basic_file.cc does. In section 27.8.1.3, it is specified that
> both ios::out and ios::out|ios::trunc should be equivalent to the stdio
> mode string "w". The manpage for fopen says that "w" means:

Yup. I think you are correct. It's a pitty though, because I don't really
see a way for somebody to use ostreams and open in a way that emulates
"nocreate" . . . oh well. Viva standards compliance!

This in:

1999-10-04  Russell Davidson <russell@qed.econ.queensu.ca> 

	* src/basic_file.cc: Fix open modes.


Thanks,
Benjamin


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