On 18/4/25 08:53, Kohei Tokunaga wrote:

The following is the patch updates file-posix.c to solve this error:

  #ifndef HAVE_COPY_FILE_RANGE
-static off_t copy_file_range(int in_fd, off_t *in_off, int out_fd,
-                             off_t *out_off, size_t len, unsigned int flags)
+ssize_t copy_file_range(int in_fd, off_t *in_off, int out_fd,
+                               off_t *out_off, size_t len, unsigned int flags)
  {
  #ifdef __NR_copy_file_range
      return syscall(__NR_copy_file_range, in_fd, in_off, out_fd,


Yes, LGTM!

Reply via email to