Update of /cvsroot/openvrml/openvrml
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv23602
Modified Files:
Tag: OpenVRML-0_16-BRANCH
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.1310.2.70
retrieving revision 1.1310.2.71
diff -C2 -d -r1.1310.2.70 -r1.1310.2.71
*** ChangeLog 6 Dec 2006 01:21:38 -0000 1.1310.2.70
--- ChangeLog 6 Dec 2006 01:52:48 -0000 1.1310.2.71
***************
*** 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
+ (browser::do_get_resource(const std::string &): Set
+ ios_base::badbit instead of failbit.
+ * src/libopenvrml/openvrml/browser.cpp
+ (openvrml::browser::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
+ (browser::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.
|