Anonymous | Login | Signup for a new account | 11-10-2008 11:19 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0001498 | [uClibc++] Other | major | always | 09-11-07 07:32 | 09-11-07 07:32 | |||||||
Reporter | dserpell | View Status | public | |||||||||
Assigned To | gkajmowi | |||||||||||
Priority | normal | Resolution | open | |||||||||
Status | assigned | Product Version | ||||||||||
Summary | 0001498: [PATCH]: basic_ofstream constructor does not add "out" flag. | |||||||||||
Description |
The constructor basic_ofstream(const char* s, ios_base::openmode mode) should or the ios_base::out flag to the mode before passing it to the streambuf open function, as per section 27.8.1.9, paragraph 2 of the C++ 98 standard: Effects: Constructs an object of class basic_ofstream<charT,traits>, initial- izing the base class with basic_ostream(&sb) and initializing sb with basic_filebuf<charT,traits>()) (_lib.ostream.cons_, _lib.file- buf.cons_), then calls rdbuf()->open(s, mode|out). The attached patch to current SVN fixes this. |
|||||||||||
Additional Information | ||||||||||||
Attached Files | fix_ofstream_openmode.patch [^] (494 bytes) 09-11-07 07:32 | |||||||||||
|
There are no notes attached to this issue. |
Copyright © 2000 - 2006 Mantis Group |