From: Braden M. <br...@us...> - 2006-12-06 01:53:00
|
Update of /cvsroot/openvrml/openvrml In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23635 Modified Files: ChangeLog Log Message: Set ios_base::badbit (instead of failbit) when stream construction does not produce a readable stream. Index: ChangeLog =================================================================== RCS file: /cvsroot/openvrml/openvrml/ChangeLog,v retrieving revision 1.1393 retrieving revision 1.1394 diff -C2 -d -r1.1393 -r1.1394 *** ChangeLog 6 Dec 2006 01:22:03 -0000 1.1393 --- ChangeLog 6 Dec 2006 01:52:58 -0000 1.1394 *************** *** 1,4 **** --- 1,20 ---- 2006-12-05 Braden McDaniel <br...@en...> + Set ios_base::badbit (instead of failbit) when stream construction + does not produce a readable stream. + + * examples/sdl_viewer.cpp + (resource_fetcher::do_get_resource(const std::string &): Set + ios_base::badbit instead of failbit. + * src/libopenvrml/openvrml/browser.cpp + (openvrml::resource_fetcher::do_get_resource(const std::string &): In the + example code in the doc-comment, set ios_base::badbit instead of + failbit. + * src/openvrml-gtkplug/gtkvrmlbrowser.cpp + (resource_fetcher::do_get_resource(const std::string &)): Set + ios_base::badbit instead of failbit. + + 2006-12-05 Braden McDaniel <br...@en...> + Pass ios_base::binary when opening arbitrary (i.e., possibly not text) files. Windows requires this. |