[Bug libstdc++/24217] filebuf.open call sets the error bits incorrectly

2005-10-06 Thread hemasai at yahoo dot com
--- Comment #2 from hemasai at yahoo dot com 2005-10-06 18:12 --- sample code: fn(const char* fname) { ifstream fstr; if (!fname) return; fstr.clear(); fstr.open(fname, ios::in | ios::nocreate); if (!(fstr.is_open())) { cout << &q

[Bug c++/24217] New: filebuf.open call sets the error bits incorrectly

2005-10-05 Thread hemasai at yahoo dot com
Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hemasai at yahoo dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24217