]> diplodocus.org Git - nmh/commit
leave_getfld(): Don't follow fseeko(SEEK_SET) with ftello().
authorRalph Corderoy <ralph@inputplus.co.uk>
Wed, 9 Aug 2017 16:03:24 +0000 (17:03 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Wed, 9 Aug 2017 16:03:24 +0000 (17:03 +0100)
commitdf646add9dde90130753c06938e425c8f8f39c0f
treeea75bde9104d3d05ed7cdc73ae77e5d9371deab0
parent522c91c2baad8d9575ba62d48487800e1e0e7203
leave_getfld(): Don't follow fseeko(SEEK_SET) with ftello().

If fseeko(3) didn't error then we know the stream's position and the
ftello(3) is not needed.  Set last_caller_pos to total_bytes_read
instead.  This small change is a commit to help future bisecting.
sbr/m_getfld.c