This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, master has been updated via fbe07de54f3768f32bd39a0ea9aa2a79188b1186 (commit) from 57df98eca15fe64a716f9f555714ef5fb9cd25e9 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit fbe07de54f3768f32bd39a0ea9aa2a79188b1186 Author: Josep Puigdemont josep.puigdemont@linaro.org Date: Tue Apr 3 09:44:51 2018 +0200
fdserver: handle interruption by signal in accept
This patch fixes: https://bugs.linaro.org/show_bug.cgi?id=3690
Suggested-by: Janne Peltonen janne.peltonen@nokia.com Signed-off-by: Josep Puigdemont josep.puigdemont@linaro.org Reviewed-by: Bill Fischofer bill.fischofer@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/platform/linux-generic/_fdserver.c b/platform/linux-generic/_fdserver.c index 065736f0..af9ca4a0 100644 --- a/platform/linux-generic/_fdserver.c +++ b/platform/linux-generic/_fdserver.c @@ -559,8 +559,11 @@ static void wait_requests(int sock) addr_sz = sizeof(remote); c_socket = accept(sock, (struct sockaddr *)&remote, &addr_sz); if (c_socket == -1) { - ODP_ERR("wait_requests: %s\n", strerror(errno)); - return; + if (errno == EINTR) + continue; + + ODP_ERR("wait_requests: %s\n", strerror(errno)); + return; }
if (handle_request(c_socket))
-----------------------------------------------------------------------
Summary of changes: platform/linux-generic/_fdserver.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
hooks/post-receive