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
acl-errno-valid.c
acl-internal.c
acl-internal.h
acl.h
acl_entries.c
alloca.in.h
allocator.c
allocator.h
arg-nonnull.h
at-func.c
binary-io.c
binary-io.h
byteswap.in.h
c++defs.h
c-ctype.c
c-ctype.h
c-strcase.h
c-strcasecmp.c
c-strncasecmp.c
careadlinkat.c
careadlinkat.h
cdefs.h
cloexec.c
cloexec.h
close-stream.c
close-stream.h
copy-file-range.c
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
dirent.in.h
dirfd.c
dosname.h
dtoastr.c
dtotimespec.c
dup2.c
errno.in.h
euidaccess.c
execinfo.c
execinfo.in.h
explicit_bzero.c
faccessat.c
fcntl.c
fcntl.in.h
fdopendir.c
filemode.c
filemode.h
filevercmp.c
filevercmp.h
fingerprint.c
fingerprint.h
flexmember.h
fpending.c
fpending.h
fstatat.c
fsusage.c
fsusage.h
fsync.c
ftoastr.c
ftoastr.h
get-permissions.c
getdtablesize.c
getgroups.c
getloadavg.c
getopt-cdefs.in.h
getopt-core.h
getopt-ext.h
getopt-pfx-core.h
getopt-pfx-ext.h
getopt.c
getopt.in.h
getopt1.c
getopt_int.h
gettext.h
gettime.c
gettimeofday.c
gnulib.mk.in
group-member.c
ieee754.in.h
ignore-value.h
intprops.h
inttypes.in.h
libc-config.h
limits.in.h
localtime-buffer.c
localtime-buffer.h
lstat.c
Makefile.in
md5.c
md5.h
memmem.c
memrchr.c
min-max.h
minmax.h
mkostemp.c
mktime-internal.h
mktime.c
nstrftime.c
open.c
openat-die.c
openat-priv.h
openat-proc.c
openat.h
pipe2.c
pselect.c
pthread_sigmask.c
putenv.c
qcopy-acl.c
readlink.c
readlinkat.c
regcomp.c
regex.c
regex.h
regex_internal.c
regex_internal.h
regexec.c
root-uid.h
save-cwd.c
save-cwd.h
set-permissions.c
sha1.c
sha1.h
sha256.c
sha256.h
sha512.c
sha512.h
sig2str.c
sig2str.h
signal.in.h
stat-time.c
stat-time.h
stdalign.in.h
stddef.in.h
stdint.in.h
stdio-impl.h
stdio.in.h
stdlib.in.h
stpcpy.c
str-two-way.h
strftime.h
string.in.h
strtoimax.c
strtol.c
strtoll.c
symlink.c
sys_select.in.h
sys_stat.in.h
sys_time.in.h
sys_types.in.h
tempname.c
tempname.h
time-internal.h
time.in.h
time_r.c
time_rz.c
timegm.c
timespec-add.c
timespec-sub.c
timespec.c
timespec.h
u64.c
u64.h
unistd.c
unistd.in.h
unlocked-io.h
utimens.c
utimens.h
verify.h
vla.h
warn-on-use.h
xalloc-oversized.h