diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-06-04 19:58:23 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-06-04 19:58:52 -0700 |
commit | a1beabcb14cde661c36f7a3c7c17b5871704003e (patch) | |
tree | 0c15cfff78db1028c63a9b15e240dba020dd1a7e /m4/copy-file-range.m4 | |
parent | 508eb99193de67a76bd3e02e85504cbc555f0a61 (diff) | |
download | gnulib-a1beabcb14cde661c36f7a3c7c17b5871704003e.tar.gz |
copy-file: prefer copy_file_range
* lib/copy-file.c: Do not include xalloc.h.
(qcopy_file_preserving): Allocate a buffer only if
copy_file_range does not suffice. If the allocation fails
don't give up; just use a small stack-based buffer.
Prefer copy_file_range if it works.
* modules/copy-file (Depends-on): Add copy-file-range.
Remove xalloc.
Diffstat (limited to 'm4/copy-file-range.m4')
0 files changed, 0 insertions, 0 deletions