Hi guys, i found tow bugs in plugin-gz in osg2.8.
1. ln174 in ReaderWriterGZ.cpp
std::ifstream fin(fileName.c_str()); // error code
std::ifstream fin(fileName.c_str(),
std::ios_base::in|std::ios_base::binary); // should be opend as binary
2. ln260 in ReaderWriterGZ.cpp
strm.avail_in = fin.readsome((char*)in, CHUNK);
It can't work as expected on ms's
implementation.(http://support.microsoft.com/kb/246934/en-us)
You can take "read" for replace.
Should i report bugs this way? And any question please me know.
with regards,
renliwei
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org