raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=f93fb3c7f6cef26f788bd5628e033cfafa31ba9f
commit f93fb3c7f6cef26f788bd5628e033cfafa31ba9f Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com> Date: Wed Aug 13 19:06:40 2014 +0900 eina thread queue - check write return this addresses CID 1226191. this should never have an error as the fd should always be valid as long as needed. --- src/lib/eina/eina_thread_queue.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/eina/eina_thread_queue.c b/src/lib/eina/eina_thread_queue.c index 23ede13..05b1f48 100644 --- a/src/lib/eina/eina_thread_queue.c +++ b/src/lib/eina/eina_thread_queue.c @@ -415,7 +415,8 @@ eina_thread_queue_send_done(Eina_Thread_Queue *thq, void *allocref) if (thq->fd >= 0) { char dummy = 0; - write(thq->fd, &dummy, 1); + if (write(thq->fd, &dummy, 1) != 1) + fprintf(stderr, "Eina Threadqueue write to fd %i failed\n", thq->fd); } } --