BusyBox Bug and Patch Tracking
BusyBox
  

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

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
09-11-07 07:32 dserpell New Issue
09-11-07 07:32 dserpell Status new => assigned
09-11-07 07:32 dserpell Assigned To  => gkajmowi
09-11-07 07:32 dserpell File Added: fix_ofstream_openmode.patch


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker