diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-09-10 12:51:27 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-09-10 19:14:44 -0700 |
commit | 9b21d9f9110445846dce25c3505c4ee04572fade (patch) | |
tree | e133e7d94a10ae19a7f8a4d44974a99151b0ca20 /configure.ac | |
parent | 0fca290ddff9eabcd2e866b1361cd5b5ba868281 (diff) | |
download | emacs-9b21d9f9110445846dce25c3505c4ee04572fade.tar.gz |
copy-file now uses GNU/Linux file cloning
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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 9856228d517..82a672b8cc5 100644 --- a/configure.ac +++ b/configure.ac @@ -1638,6 +1638,7 @@ fi dnl checks for header files AC_CHECK_HEADERS_ONCE( + linux/fs.h malloc.h sys/systeminfo.h sys/sysinfo.h |