1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00: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_entries.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
acl-errno-valid.c Update copyright year to 2019 2019-01-01 01:01:13 +00:00
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 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
alloca.in.h Update from Gnulib 2019-03-10 23:05:30 -07:00
allocator.c Update from gnulib. 2011-04-08 14:53:30 -07:00
allocator.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
arg-nonnull.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
at-func.c Update copyright year to 2019 2019-01-01 01:01:13 +00:00
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 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
c-ctype.c Merge from gnulib 2015-09-25 00:23:18 -07:00
c-ctype.h Update from Gnulib 2018-12-31 18:20:07 -08:00
c-strcase.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
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
c++defs.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
careadlinkat.c Update from Gnulib 2018-12-31 18:20:07 -08:00
careadlinkat.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
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 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
close-stream.c Update from Gnulib 2018-12-31 18:20:07 -08:00
close-stream.h Fix data-loss with --batch. 2012-11-03 11:54:17 -07:00
copy-file-range.c Use copy_file_range to copy files 2019-06-07 00:44:45 -07:00
COPYING Merge from Gnulib 2017-10-01 18:31:10 -07:00
count-leading-zeros.c logb now works correctly on large integers 2017-03-03 09:19:08 -08:00
count-leading-zeros.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
count-one-bits.c Improve support for popcount and counting trailing zeros. 2013-10-07 14:37:19 -07:00
count-one-bits.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
count-trailing-zeros.c Improve support for popcount and counting trailing zeros. 2013-10-07 14:37:19 -07:00
count-trailing-zeros.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
diffseq.h Update from Gnulib 2018-12-31 18:20:07 -08:00
dirent.in.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
dirfd.c Update copyright year to 2019 2019-01-01 01:01:13 +00:00
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 * lib/execinfo.c, lib/execinfo.in.h, m4/execinfo.m4: New files. 2012-08-24 21:27:32 -07:00
execinfo.in.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
explicit_bzero.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
faccessat.c Update copyright year to 2019 2019-01-01 01:01:13 +00:00
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 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
filemode.c Update copyright year to 2019 2019-01-01 01:01:13 +00:00
filemode.h Update from Gnulib 2018-12-31 18:20:07 -08:00
filevercmp.c Update copyright year to 2019 2019-01-01 01:01:13 +00:00
filevercmp.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
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 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
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
getopt1.c Update copyright year to 2019 2019-01-01 01:01:13 +00:00
getopt_int.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
getopt-cdefs.in.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
getopt-core.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
getopt-ext.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
getopt-pfx-core.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
getopt-pfx-ext.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
getopt.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
getopt.in.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
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 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
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 [ChangeLog] 2011-02-21 15:22:34 -08:00
minmax.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
mkostemp.c Update copyright year to 2019 2019-01-01 01:01:13 +00:00
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 Limit <config.h>’s includes 2016-09-30 12:38:52 -07:00
openat-priv.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
openat-proc.c Update copyright year to 2019 2019-01-01 01:01:13 +00:00
openat.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
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 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
putenv.c Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
qcopy-acl.c Update copyright year to 2019 2019-01-01 01:01:13 +00:00
readlink.c Update copyright year to 2019 2019-01-01 01:01:13 +00:00
readlinkat.c Update copyright year to 2019 2019-01-01 01:01:13 +00:00
regcomp.c Update from Gnulib. 2019-03-25 14:55:49 -07: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
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
regexec.c Update from Gnulib. 2019-03-25 14:55:49 -07:00
root-uid.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
save-cwd.c Update copyright year to 2019 2019-01-01 01:01:13 +00:00
save-cwd.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
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 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
signal.in.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
stat-time.c Merge from gnulib. 2012-08-02 17:42:11 -07:00
stat-time.h Update from Gnulib. 2019-03-25 14:55:49 -07:00
stdalign.in.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
stddef.in.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
stdint.in.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
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 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
str-two-way.h Merge from gnulib 2019-04-24 17:34:32 -07:00
strftime.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
string.in.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
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 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
sys_select.in.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
sys_stat.in.h Update from Gnulib 2019-01-27 16:20:40 -08:00
sys_time.in.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
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 Update copyright year to 2019 2019-01-01 01:01:13 +00: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
time-internal.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
time.in.h 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 Merge from gnulib. 2012-08-02 17:42:11 -07:00
timespec.h Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
u64.c Merge from gnulib 2015-10-13 23:34:47 -07:00
u64.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
unistd.c Merge from gnulib 2015-10-13 23:34:47 -07:00
unistd.in.h Update from Gnulib 2019-06-07 00:44:45 -07:00
unlocked-io.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
utimens.c Update from Gnulib. 2019-03-25 14:55:49 -07:00
utimens.h Update copyright year to 2019 2019-01-01 01:01:13 +00:00
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