https://bugs.kde.org/show_bug.cgi?id=214140

--- Comment #4 from Oleg Sidorkin <osidor...@gmail.com> ---
It seems to be gpgme bug actually - not KDE one.

with the following patch applied to gpgme it stops producing zombies. Not sure
if it is actually correct.

--- src/posix-io.c.orig 2012-09-25 17:46:40.000000000 +0400
+++ src/posix-io.c      2014-04-08 01:51:56.000000000 +0400
@@ -340,10 +340,15 @@
 _gpgme_io_waitpid (int pid, int hang, int *r_status, int *r_signal)
 {
   int status;
-
+  int ret;
   *r_status = 0;
   *r_signal = 0;
-  if (_gpgme_ath_waitpid (pid, &status, hang? 0 : WNOHANG) == pid)
+ do
+    {
+      ret = _gpgme_ath_waitpid (pid, &status, hang? 0 : WNOHANG);
+    }
+  while (ret == -1 && errno == EINTR);
+  if (ret == pid)
     {
       if (WIFSIGNALED (status))
        {

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
Kdepim-bugs@kde.org
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to