Hi,

Without eof, it still returns 262 bytes which is wrong.

I ended up writing my own streambuf reading from a FILE* and this now
returns the proper value (around 40MB)
The custom streambuf is based on this :
http://www.mr-edd.co.uk/blog/beginners_guide_streambuf

There is definitely a bug in this extension : __gnu_cxx::stdio_filebuf


Cheers,

Etienne
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to