From 73798a70be8d26907d31ecabdf76f941c56bae19 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Wed, 16 Jan 2013 05:30:00 +0100 Subject: voodoo/unix: Exit on EPIPE in send --- Source/DirectFB/lib/voodoo/unix/link_unix.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/DirectFB/lib/voodoo/unix/link_unix.c') diff --git a/Source/DirectFB/lib/voodoo/unix/link_unix.c b/Source/DirectFB/lib/voodoo/unix/link_unix.c index 1b6690c..65e3768 100755 --- a/Source/DirectFB/lib/voodoo/unix/link_unix.c +++ b/Source/DirectFB/lib/voodoo/unix/link_unix.c @@ -181,6 +181,8 @@ SendReceive( VoodooLink *link, ret = send( l->fd[1], sends[i].ptr, sends[i].length, MSG_DONTWAIT ); if (ret < 0) { D_PERROR( "Voodoo/Link: Failed to send() data!\n" ); + if (errno == EPIPE) + exit(13); return DR_IO; } else { -- cgit