[PATCH 4/5] Use blocking output for the pipe

spitzak at gmail.com spitzak at gmail.com
Sun Mar 18 22:56:21 PDT 2012


From: Bill Spitzak <spitzak at lulu.(none)>

It certainly looks like this message must be sent!
---
 src/connection.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/connection.c b/src/connection.c
index 1f707ed..9f78c85 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -277,8 +277,7 @@ wl_connection_data(struct wl_connection *connection, uint32_t mask)
 		msg.msg_flags = 0;
 
 		do {
-			len = sendmsg(connection->fd, &msg,
-				      MSG_NOSIGNAL | MSG_DONTWAIT);
+			len = sendmsg(connection->fd, &msg, MSG_NOSIGNAL);
 		} while (len < 0 && errno == EINTR);
 
 		if (len == -1 && errno == EPIPE) {
-- 
1.7.4.1



More information about the wayland-devel mailing list