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 88ba35773c76c871a222fe48a0dac05765c39936 (commit) from 2e96afe0b7c4e7e41fb03bcda605ab704f538ca1 (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 88ba35773c76c871a222fe48a0dac05765c39936 Author: Josep Puigdemont josep.puigdemont@linaro.org Date: Wed Apr 11 14:40:53 2018 +0200
fdserver: handle signal interruption in connect()
Signed-off-by: Josep Puigdemont josep.puigdemont@linaro.org Reviewed-by: Janne Peltonen janne.peltonen@nokia.com Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/platform/linux-generic/odp_fdserver.c b/platform/linux-generic/odp_fdserver.c index c88c71cd..0e9fb0e4 100644 --- a/platform/linux-generic/odp_fdserver.c +++ b/platform/linux-generic/odp_fdserver.c @@ -265,7 +265,9 @@ static int get_socket(void) remote.sun_family = AF_UNIX; strcpy(remote.sun_path, sockpath); len = strlen(remote.sun_path) + sizeof(remote.sun_family); - if (connect(s_sock, (struct sockaddr *)&remote, len) == -1) { + while (connect(s_sock, (struct sockaddr *)&remote, len) == -1) { + if (errno == EINTR) + continue; ODP_ERR("cannot connect to server: %s\n", strerror(errno)); close(s_sock); return -1;
-----------------------------------------------------------------------
Summary of changes: platform/linux-generic/odp_fdserver.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
hooks/post-receive