[gimp] app: in gimpbacktrace-linux, use SA_RESTART for the backtrace signal



commit e8c1cd79ba58b2871dd45175518f1f241d591adb
Author: Ell <ell_se yahoo com>
Date:   Sun Sep 16 08:54:18 2018 -0400

    app: in gimpbacktrace-linux, use SA_RESTART for the backtrace signal

 app/core/gimpbacktrace-linux.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/app/core/gimpbacktrace-linux.c b/app/core/gimpbacktrace-linux.c
index 699e760858..477aa0a096 100644
--- a/app/core/gimpbacktrace-linux.c
+++ b/app/core/gimpbacktrace-linux.c
@@ -283,6 +283,7 @@ gimp_backtrace_start (void)
       struct sigaction action = {};
 
       action.sa_handler = gimp_backtrace_signal_handler;
+      action.sa_flags   = SA_RESTART;
 
       sigemptyset (&action.sa_mask);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]