Commit e3fa9c9a authored by Patrick Welche's avatar Patrick Welche

Only use SA_RESTART if it exists

Fixes build on QNX (and possibly HPUX given Bug 168352)
Patch essentially from pkgsrc devel/glib2/patches/patch-ai
parent 2d8e5ef8
......@@ -4963,7 +4963,11 @@ ref_unix_signal_handler_unlocked (int signum)
struct sigaction action;
action.sa_handler = g_unix_signal_handler;
sigemptyset (&action.sa_mask);
action.sa_flags = SA_RESTART | SA_NOCLDSTOP;
action.sa_flags = SA_NOCLDSTOP;
sigaction (signum, &action, NULL);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment