------- Comment #15 from potswa at mac dot com 2010-09-10 16:15 -------
(In reply to comment #14)
> (The result doesn't depend on
> the pointers, it comes from fseek.)
I re-read Comment 5 and understand it this time ;v) . Well, any solution should
fix both tellg and tellp, since the pointers are the same upon synchronization.
Then, yes, we need to check which type of operation occurred last, and either
update whichever pointer is stale, or selectively use the correct one.