• Paul Eggert's avatar
    copy-file now uses GNU/Linux file cloning · 9b21d9f9
    Paul Eggert authored
    From a suggestion by Kieran Colford (see Bug#23904).
    * configure.ac: Check for linux/fs.h.
    * src/fileio.c [HAVE_LINUX_FS_H]: Include sys/ioctl.h and linux/fs.h.
    (clone_file): New function.
    (Fcopy_file): Use it.
    9b21d9f9
fileio.c 190 KB