]> Savannah Git Hosting - gnulib.git/commit
lseek: port around macOS SEEK_DATA glitch
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 15 Nov 2021 23:08:25 +0000 (15:08 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 15 Nov 2021 23:11:57 +0000 (15:11 -0800)
commit4db8db34112b86ddf8bac48f16b5acff732b5fa9
tree2982c055e5604bf8b0bf55d83fefdc0613592f49
parent84a660073387dea8bd00eec7bd43b77d0681055e
lseek: port around macOS SEEK_DATA glitch

Problem reported by Sudhip Nashi (Bug#51857).
* doc/posix-functions/lseek.texi (lseek): Mention macOS SEEK_DATA
issue.
* lib/lseek.c (rpl_lseek): Work around macOS portability glitch.
* m4/lseek.m4 (gl_FUNC_LSEEK): Replace lseek on Darwin.
* modules/lseek (Depends-on): Depend on msvc-nothrow
and fstat only if needed.
ChangeLog
doc/posix-functions/lseek.texi
lib/lseek.c
m4/lseek.m4
modules/lseek