The problem with ate not seeking to the end in ostringstreams is now fixed, first referenced in email from here: http://sourceware.cygnus.com/ml/libstdc++/2000-q1/msg00326.html -benjamin