1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 21:20:45 -08:00
emacs/lib
Paul Eggert 486a81f387 Use copy_file_range to copy files
The copy_file_range syscall (introduced in Linux kernel
version 4.5) can copy files more efficiently via server-side
copy etc.
* admin/merge-gnulib (GNULIB_MODULES): Add copy-file-range.
* lib/copy-file-range.c, m4/copy-file-range.m4:
New files, copied from Gnulib.
* lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
* src/fileio.c (Fcopy_file): Try copy_file_range first,
falling back on read+write only if copy_file_range failed or
if the input is empty and so could be a /proc file.
2019-06-07 00:44:45 -07:00
..
_Noreturn.h Update from Gnulib 2019-04-13 21:13:57 -07:00
acl-errno-valid.c
acl-internal.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
acl-internal.h Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
acl.h
acl_entries.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
alloca.in.h Update from Gnulib 2019-03-10 23:05:30 -07:00
allocator.c
allocator.h
arg-nonnull.h
at-func.c
binary-io.c Update from Gnulib 2019-06-07 00:44:45 -07:00
binary-io.h Update from Gnulib 2019-06-07 00:44:45 -07:00
byteswap.in.h
c++defs.h
c-ctype.c
c-ctype.h Update from Gnulib 2018-12-31 18:20:07 -08:00
c-strcase.h
c-strcasecmp.c Update from Gnulib 2018-12-31 18:20:07 -08:00
c-strncasecmp.c Update from Gnulib 2018-12-31 18:20:07 -08:00
careadlinkat.c Update from Gnulib 2018-12-31 18:20:07 -08:00
careadlinkat.h
cdefs.h Update from Gnulib 2019-01-27 16:20:40 -08:00
cloexec.c Update from Gnulib 2018-12-31 18:20:07 -08:00
cloexec.h
close-stream.c Update from Gnulib 2018-12-31 18:20:07 -08:00
close-stream.h
copy-file-range.c Use copy_file_range to copy files 2019-06-07 00:44:45 -07:00
COPYING
count-leading-zeros.c
count-leading-zeros.h
count-one-bits.c
count-one-bits.h
count-trailing-zeros.c
count-trailing-zeros.h
diffseq.h Update from Gnulib 2018-12-31 18:20:07 -08:00
dirent.in.h
dirfd.c
dosname.h Update from Gnulib 2018-12-31 18:20:07 -08:00
dtoastr.c
dtotimespec.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
dup2.c Update from Gnulib 2018-12-31 18:20:07 -08:00
errno.in.h Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
euidaccess.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
execinfo.c
execinfo.in.h
explicit_bzero.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
faccessat.c
fcntl.c Update from Gnulib 2019-01-27 16:20:40 -08:00
fcntl.in.h Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
fdopendir.c
filemode.c
filemode.h Update from Gnulib 2018-12-31 18:20:07 -08:00
filevercmp.c
filevercmp.h
fingerprint.c Replace executable’s fingerprint in place 2019-04-14 17:06:09 -07:00
fingerprint.h Replace executable’s fingerprint in place 2019-04-14 17:06:09 -07:00
flexmember.h Update from Gnulib 2019-05-29 16:34:57 -07:00
fpending.c Update from Gnulib 2018-12-31 18:20:07 -08:00
fpending.h Update from Gnulib 2018-12-31 18:20:07 -08:00
fstatat.c Update from Gnulib 2019-02-25 08:27:40 -08:00
fsusage.c Update from Gnulib 2018-12-31 18:20:07 -08:00
fsusage.h Update from Gnulib 2018-12-31 18:20:07 -08:00
fsync.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ftoastr.c Update from Gnulib 2019-02-02 13:15:10 -08:00
ftoastr.h
get-permissions.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
getdtablesize.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
getgroups.c Update from Gnulib 2018-12-31 18:20:07 -08:00
getloadavg.c Update from Gnulib 2019-03-10 23:05:30 -07:00
getopt-cdefs.in.h
getopt-core.h
getopt-ext.h
getopt-pfx-core.h
getopt-pfx-ext.h
getopt.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
getopt.in.h
getopt1.c
getopt_int.h
gettext.h Update from Gnulib 2019-01-27 16:20:40 -08:00
gettime.c Update from Gnulib 2018-12-31 18:20:07 -08:00
gettimeofday.c Update from Gnulib. 2019-03-25 14:55:49 -07:00
gnulib.mk.in Use copy_file_range to copy files 2019-06-07 00:44:45 -07:00
group-member.c Update from Gnulib 2018-12-31 18:20:07 -08:00
ieee754.in.h Update from Gnulib 2018-12-31 18:20:07 -08:00
ignore-value.h
intprops.h Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
inttypes.in.h Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
libc-config.h Update from Gnulib 2018-12-31 18:20:07 -08:00
limits.in.h Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
localtime-buffer.c Update from Gnulib 2018-12-31 18:20:07 -08:00
localtime-buffer.h Update from Gnulib 2018-12-31 18:20:07 -08:00
lstat.c Update from Gnulib 2019-02-25 08:27:40 -08:00
Makefile.in Replace executable’s fingerprint in place 2019-04-14 17:06:09 -07:00
md5.c Update from Gnulib 2018-12-31 18:20:07 -08:00
md5.h Update from Gnulib 2018-12-31 18:20:07 -08:00
memmem.c Replace executable’s fingerprint in place 2019-04-14 17:06:09 -07:00
memrchr.c Update from Gnulib 2018-12-31 18:20:07 -08:00
min-max.h
minmax.h
mkostemp.c
mktime-internal.h Update from Gnulib 2019-04-30 09:45:08 -07:00
mktime.c Update from Gnulib 2019-04-30 09:45:08 -07:00
nstrftime.c Update from Gnulib 2019-02-25 08:27:40 -08:00
open.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
openat-die.c
openat-priv.h
openat-proc.c
openat.h
pipe2.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
pselect.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
pthread_sigmask.c
putenv.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
qcopy-acl.c
readlink.c
readlinkat.c
regcomp.c Update from Gnulib. 2019-03-25 14:55:49 -07:00
regex.c Update from Gnulib 2018-12-31 18:20:07 -08:00
regex.h Update from Gnulib 2018-12-31 18:20:07 -08:00
regex_internal.c Update from Gnulib 2018-12-31 18:20:07 -08:00
regex_internal.h Update from Gnulib 2018-12-31 18:20:07 -08:00
regexec.c Update from Gnulib. 2019-03-25 14:55:49 -07:00
root-uid.h
save-cwd.c
save-cwd.h
set-permissions.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
sha1.c Update from Gnulib 2018-12-31 18:20:07 -08:00
sha1.h Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
sha256.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
sha256.h Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
sha512.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
sha512.h Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
sig2str.c Update from Gnulib 2018-12-31 18:20:07 -08:00
sig2str.h
signal.in.h
stat-time.c
stat-time.h Update from Gnulib. 2019-03-25 14:55:49 -07:00
stdalign.in.h
stddef.in.h
stdint.in.h
stdio-impl.h Update from Gnulib 2019-01-27 16:20:40 -08:00
stdio.in.h Update from Gnulib 2019-01-27 16:20:40 -08:00
stdlib.in.h Update from Gnulib 2019-02-02 13:15:10 -08:00
stpcpy.c
str-two-way.h Merge from gnulib 2019-04-24 17:34:32 -07:00
strftime.h
string.in.h
strtoimax.c Update from Gnulib 2018-12-31 18:20:07 -08:00
strtol.c Update from Gnulib 2018-12-31 18:20:07 -08:00
strtoll.c Update from Gnulib 2018-12-31 18:20:07 -08:00
symlink.c
sys_select.in.h
sys_stat.in.h Update from Gnulib 2019-01-27 16:20:40 -08:00
sys_time.in.h
sys_types.in.h Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
tempname.c Update from Gnulib 2018-12-31 18:20:07 -08:00
tempname.h
time-internal.h
time.in.h Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
time_r.c Update from Gnulib 2018-12-31 18:20:07 -08:00
time_rz.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
timegm.c Update from Gnulib 2019-04-30 09:45:08 -07:00
timespec-add.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
timespec-sub.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
timespec.c
timespec.h Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
u64.c
u64.h
unistd.c
unistd.in.h Update from Gnulib 2019-06-07 00:44:45 -07:00
unlocked-io.h
utimens.c Update from Gnulib. 2019-03-25 14:55:49 -07:00
utimens.h
verify.h Update from Gnulib 2019-05-29 16:34:57 -07:00
vla.h Update from Gnulib 2019-02-25 08:27:40 -08:00
warn-on-use.h Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
xalloc-oversized.h Update from Gnulib 2018-12-31 18:20:07 -08:00