[PATCH] copy_file_range: New function to copy file data

Florian Weimer fweimer@redhat.com
Tue Dec 5 14:03:00 GMT 2017


The attached version of the patch fixes a few 32-bit issues in the code 
(non-64 functions being called, and size_t-to-off64_t conversion issue). 
  I renamed the -common.c file into -compat.c, for consistency with how 
the file is used.

It also drops the zero-as-ENOSPC special case Andreas recognized as 
unnecessary.

Thanks,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: copy_file_range.patch
Type: text/x-patch
Size: 58722 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20171205/a81d6f16/attachment.bin>


More information about the Libc-alpha mailing list