Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update copyright year to 2020 | Paul Eggert | 2020-01-01 | 1 | -1/+1 |
| | | | | Run "TZ=UTC0 admin/update-copyright $(git ls-files)". | ||||
* | Use copy_file_range to copy files | Paul Eggert | 2019-06-07 | 1 | -0/+33 |
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. |