fport_seek: Eliminate a fruitless use of 'off_t_or_off64_t'.
authorMark H Weaver <mhw@netris.org>
Tue, 18 Jun 2019 07:28:18 +0000 (03:28 -0400)
committerMark H Weaver <mhw@netris.org>
Tue, 18 Jun 2019 07:35:36 +0000 (03:35 -0400)
commita17b727963dd8c443f35be9b64b1625e9fa5eddf
treed18faaa502940b1fea85c3cdaaabd9f4763593d9
parent2095033b42edc91d24dad7a6e9b716b94992342e
fport_seek: Eliminate a fruitless use of 'off_t_or_off64_t'.

This is a followup to commit 91ba73b397fcc2a36ae7e434522a924c7a8887d0.

* libguile/fports.c (fport_seek): Use 'lseek' instead of
'lseek_or_lseek64', and use 'scm_t_off' uniformly.  That's the type used
in the function signature, and there's no benefit to using a wider type
internally.  Remove the overflow check, which is no longer needed.
libguile/fports.c