xf86-video-intel: src/sna/sna_accel.c

Chris Wilson ickle at kemper.freedesktop.org
Sat Sep 28 00:13:56 PDT 2013


 src/sna/sna_accel.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5a5f9b2812a04721f9dbd67552a39c278cdde18b
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sat Sep 28 08:12:22 2013 +0100

    sna: OsSigHandler expects 0 on handled
    
    Returning 0 from sigtrap_handler() when we wish to fallback to the core
    OsSigHandler was precisely the wrong thing to do.
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/sna_accel.c b/src/sna/sna_accel.c
index fd77164..6f56a9e 100644
--- a/src/sna/sna_accel.c
+++ b/src/sna/sna_accel.c
@@ -408,7 +408,7 @@ static int sigtrap_handler(int sig)
 		siglongjmp(sigjmp, sig);
 	}
 
-	return 0;
+	return -1;
 }
 
 static void sigtrap_init(void)


More information about the xorg-commit mailing list