diff options
author | fanquake <fanquake@gmail.com> | 2021-03-28 10:57:11 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-03-28 10:57:11 +0800 |
commit | 4c29b01c87af4739a0e846f5879fa0f5db287f10 (patch) | |
tree | d9660aaae64235efcd301519fc08cc7b91fd8a1e /test | |
parent | 8e5e7bb8a82458ba5ac4193d88cef38a3ad6dddb (diff) | |
download | libevent-4c29b01c87af4739a0e846f5879fa0f5db287f10.tar.gz |
build: remove splice implementation fragments
Looks like a `splice` implementation was planned, but has clearly never
eventuated (the TODO comment is from ~12 years ago, in
8b5bd77415fb6634fadf08357676926fecf5f032). For now, it's probably better
to remove the unused code/correct the docs.
Diffstat (limited to 'test')
-rw-r--r-- | test/regress_buffer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/regress_buffer.c b/test/regress_buffer.c index fca74062..acd03ee3 100644 --- a/test/regress_buffer.c +++ b/test/regress_buffer.c @@ -1161,8 +1161,7 @@ test_evbuffer_add_file(void *ptr) view_from_offset = 1; } if (strstr(impl, "sendfile")) { - /* If sendfile is set, we try to use a sendfile/splice style - * backend. */ + /* If sendfile is set, we try to use a sendfile style backend. */ flags = EVBUF_FS_DISABLE_MMAP; want_cansendfile = 1; want_ismapping = 0; |