Jeff: Thank you for your prompt and extremely helpful response. I've formally requested a hot-fix from Microsoft, opening a technical support issue with a case #, etc. In the meantime I will probably be forced to attempt the workaround, but I strongly encourage anyone else out there who is affected by the bug to also file a formal hotfix request as well. If Microsoft is inundated with hot-fix requests, they will surely do the right thing at some point. But, if all we do is post in forums, they have an excuse to ignore us. Stewart Jeff Garland wrote:
This code snippet leaks for us, at a rate of about a MB every 10 seconds:
while (true) { time_from_string("2002-01-20 23:59:59"); }
It's a problem in the standard library. Have a look at this recent thread. A few key emails:
http://lists.boost.org/Archives/boost/2006/02/100969.php http://lists.boost.org/Archives/boost/2006/02/101039.php http://lists.boost.org/Archives/boost/2006/02/101122.php
As you'll see in the last email I've made some patches, but it isn't comprehensive. In particular, time_from_string is in one of those areas that I don't believe I can patch easily.
If you're doing any non-trivial C++, I think you'll want to request support from the vendor or apply their workarounds since date-time is hardly the only code likely to be using basic_iostream.
Jeff
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users