diff options
author | Ralph Boehme <slow@samba.org> | 2021-08-12 18:31:40 +0200 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2021-08-13 11:45:17 +0000 |
commit | 1641e6c528e027dbfff96a834b94a8654a03a168 (patch) | |
tree | b689c787e0fda8516887d562abf0e6181fba3dd8 /lib/replace | |
parent | c25f72f401842a18cab1db2bab89deec78274d93 (diff) | |
download | samba-1641e6c528e027dbfff96a834b94a8654a03a168.tar.gz |
libreplace: remove now unused USE_COPY_FILE_RANGE define
The only user was removed in the previous commit. We still need the preceeding
checks however, based on that replace.c provides a copy_file_range() fallback.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14795
RN: copy_file_range() may fail with EOPNOTSUPP
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Aug 13 11:45:17 UTC 2021 on sn-devel-184
Diffstat (limited to 'lib/replace')
-rw-r--r-- | lib/replace/wscript | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript index 9c23d549dab..a734d478582 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -483,8 +483,6 @@ def configure(conf): headers='errno.h string.h stdio.h sys/syscall.h unistd.h sys/types.h sys/stat.h fcntl.h', execute=True, msg='Checking whether we have copy_file_range system call') - if conf.CONFIG_SET('HAVE_COPY_FILE_RANGE') or conf.CONFIG_SET('HAVE_SYSCALL_COPY_FILE_RANGE'): - conf.DEFINE('USE_COPY_FILE_RANGE', 1) conf.SET_TARGET_TYPE('attr', 'EMPTY') |