summaryrefslogtreecommitdiff
path: root/m4/copy-file-range.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-06-04 19:58:23 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-06-04 19:58:52 -0700
commita1beabcb14cde661c36f7a3c7c17b5871704003e (patch)
tree0c15cfff78db1028c63a9b15e240dba020dd1a7e /m4/copy-file-range.m4
parent508eb99193de67a76bd3e02e85504cbc555f0a61 (diff)
downloadgnulib-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