lseek: Fix the override to not undo the effects of AC_SYS_LARGEFILE.
commita51a5f5d24ce8e9be82c6a564576500d0f4d4428
authorBruno Haible <bruno@clisp.org>
Sat, 25 Jan 2020 20:00:31 +0000 (25 21:00 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 25 Jan 2020 20:00:31 +0000 (25 21:00 +0100)
tree5e9802a6c2da84e43b2bf6fc9734d7a59b475adb
parent7aebcc2d9db10d1611a611ea44f51c003c867f03
lseek: Fix the override to not undo the effects of AC_SYS_LARGEFILE.

Reported by John Donoghue <john.david.donoghue@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-01/msg00146.html>.

* lib/lseek.c (rpl_lseek): When AC_SYS_LARGEFILE has enabled a 64-bit
off_t on mingw, invoke _lseeki64 instead of lseek.
ChangeLog
lib/lseek.c