diff options
author | Masaki Matsushita <glass.saga@gmail.com> | 2020-09-12 13:36:53 +0900 |
---|---|---|
committer | Masaki Matsushita <glass.saga@gmail.com> | 2020-09-12 16:07:35 +0900 |
commit | 012785ef352d6eee983e087adad71692b3aeb354 (patch) | |
tree | 5ff998f3d576f1b7e76fd6d3a2e95a45f6b3da36 /io.c | |
parent | ae508633b7798dd600fd5c6d5095af5361b28c70 (diff) | |
download | ruby-012785ef352d6eee983e087adad71692b3aeb354.tar.gz |
Check copy_file_range(2) is actually supported.
see also: https://gitlab.com/gitlab-org/gitlab/-/issues/218999#note_363225872
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -11074,10 +11074,6 @@ nogvl_copy_stream_wait_write(struct copy_stream_struct *stp) return 0; } -#if defined HAVE_COPY_FILE_RANGE || (defined __linux__ && defined __NR_copy_file_range) -# define USE_COPY_FILE_RANGE -#endif - #ifdef USE_COPY_FILE_RANGE static ssize_t |