]> Savannah Git Hosting - gnulib.git/commit
copy-file-range: support building for older kernels
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 6 Jun 2023 05:04:37 +0000 (22:04 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 6 Jun 2023 05:36:35 +0000 (22:36 -0700)
commitfb034b35eb0efe3ac0a42ca34f90927c4d29d630
treed3bfb9f49a2846a86eec990b600a1ef00f73665a
parent20c19ae03d29cf08cfd6ba8d70b257bfb20b8d4e
copy-file-range: support building for older kernels

* m4/copy-file-range.m4 (gl_FUNC_COPY_FILE_RANGE):
Remove static check, to support the dubious practice of
building for platforms that predate the build platform.
On working kernels this adds an extra syscall the first time
that copy_file_range is used.  Problem reported for Gentoo by
Sam James <https://bugs.gnu.org/63850>.
ChangeLog
m4/copy-file-range.m4