]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cp: rely on Gnulib for copy_file_range workaround
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 15 Jan 2022 01:43:52 +0000 (17:43 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 15 Jan 2022 01:44:49 +0000 (17:44 -0800)
commitb197885b2d0a4648132f39b9e8ea0cf7e9d37153
tree6cc768f553196619876894c4051d9339e9ee154d
parentdb539b7c3466cb33d0b2851dcc7a00f945fda92a
cp: rely on Gnulib for copy_file_range workaround

Gnulib now replaces copy_file_range on buggy hosts
so there is no need for Coreutils to worry about the bug.
* src/copy.c: Do not include sys/utsname.h, xstrtol.h.
(functional_copy_file_range): Remove.  All uses now
simply call copy_file_range.
src/copy.c