Repository: qpid-proton Updated Branches: refs/heads/master c97a13e3f -> d16794ba0
PROTON-1460: epoll proactor - dummy pn_proactor_release_connection Added dummy pn_proactor_release_connection() that calls abort(). Allows the tests to link and 'make install' to work without fiddling. The tests do not pass. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/d16794ba Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/d16794ba Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/d16794ba Branch: refs/heads/master Commit: d16794ba099a9ab1a41aba8c2b4deddea6d63716 Parents: c97a13e Author: Alan Conway <[email protected]> Authored: Fri Apr 21 14:48:56 2017 -0400 Committer: Alan Conway <[email protected]> Committed: Fri Apr 21 14:48:56 2017 -0400 ---------------------------------------------------------------------- proton-c/src/proactor/epoll.c | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/d16794ba/proton-c/src/proactor/epoll.c ---------------------------------------------------------------------- diff --git a/proton-c/src/proactor/epoll.c b/proton-c/src/proactor/epoll.c index 9ca4f7c..7e2ee2c 100644 --- a/proton-c/src/proactor/epoll.c +++ b/proton-c/src/proactor/epoll.c @@ -160,6 +160,7 @@ static int ptimer_callback(ptimer_t *pt) { lock(&pt->mutex); uint64_t u_exp_count; ssize_t l = read(pt->timerfd, &u_exp_count, sizeof(uint64_t)); + (void)l; /* Silence compiler complaints in release build */ assert(l == sizeof(uint64_t)); assert(u_exp_count < INT_MAX); // or test and log it? int exp_count = (int) u_exp_count; @@ -1709,3 +1710,8 @@ size_t pn_proactor_addr_str(const struct pn_proactor_addr_t* addr, char *buf, si return 0; } } + +/* FIXME aconway 2017-04-21: dummy to make test link, needs implementation */ +void pn_proactor_release_connection(pn_connection_t *connection) { + abort(); +} --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
