diff options
Diffstat (limited to 'x11-misc/wdm/files/wdm-1.28-remove-sigsetmask.patch')
-rw-r--r-- | x11-misc/wdm/files/wdm-1.28-remove-sigsetmask.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-misc/wdm/files/wdm-1.28-remove-sigsetmask.patch b/x11-misc/wdm/files/wdm-1.28-remove-sigsetmask.patch new file mode 100644 index 000000000000..f76db846e597 --- /dev/null +++ b/x11-misc/wdm/files/wdm-1.28-remove-sigsetmask.patch @@ -0,0 +1,15 @@ +Please reffer https://www.openembedded.org/pipermail/openembedded-core/2011-July/044923.html +--- a/src/wdm/util.c ++++ b/src/wdm/util.c +@@ -113,8 +113,10 @@ CleanUpChild (void) + #ifdef CSRG_BASED + setsid(); + #else ++ sigset_t sigmask; + setpgid (0, getpid ()); +- sigsetmask (0); ++ sigemptyset(&sigmask); ++ sigprocmask(SIG_SETMASK, &sigmask, NULL); + #endif + #ifdef SIGCHLD + (void) Signal (SIGCHLD, SIG_DFL); |