This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/tomcat-native.git
commit ba0dc4e68b0c653c208b6b8dc75fe11b6146a3a8 Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Dec 10 13:37:15 2020 +0000 Remove unnecessary code. Minimum APR version is 1.4.3 --- native/src/file.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/native/src/file.c b/native/src/file.c index e9bd5cf..9a7acea 100644 --- a/native/src/file.c +++ b/native/src/file.c @@ -407,11 +407,7 @@ TCN_IMPLEMENT_CALL(jint, File, writevFull)(TCN_STDARGS, jlong file, vec[i].iov_len = (*e)->GetArrayLength(e, ba[i]); vec[i].iov_base = (void *)((*e)->GetByteArrayElements(e, ba[i], NULL)); } -#if (APR_VERSION_MAJOR >= 1) && (APR_VERSION_MINOR >= 1) ss = apr_file_writev_full(f, vec, nvec, &written); -#else - ss = apr_file_writev(f, vec, nvec, &written); -#endif for (i = 0; i < nvec; i++) { (*e)->ReleaseByteArrayElements(e, ba[i], (jbyte *)vec[i].iov_base, --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org