Log Message: PR/46089: David Shao: Don't use f{g,s}etpos because there is no portable way of extracting the offset from them, which is all that is needed in this case. Just use fseeko/ftello.