Comment #1 on issue 592 by [email protected]: OstreamOutputStream with ofstream loses data from the tail
http://code.google.com/p/protobuf/issues/detail?id=592

I think the current implementation is working as expected. The problem you described is the result of not closing the file properly (where flush() will be called on the ostream) after writing. In the test you added in the attached patch, close() should be called before reopening the file for reading.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to