aboutsummaryrefslogtreecommitdiffstats
path: root/agent
diff options
context:
space:
mode:
Diffstat (limited to 'agent')
-rw-r--r--agent/ChangeLog4
-rw-r--r--agent/gpg-agent.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/agent/ChangeLog b/agent/ChangeLog
index 8c9cefea6..38d264c5a 100644
--- a/agent/ChangeLog
+++ b/agent/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-02 Werner Koch <[email protected]>
+
+ * gpg-agent.c (main): Run pth_kill after fork. Fixes bug#1066.
+
2009-05-19 Werner Koch <[email protected]>
* gpg-agent.c (JNLIB_NEED_AFLOCAL): Define.
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 7093ee1e6..9eec9380a 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -996,6 +996,9 @@ main (int argc, char **argv )
right now and thus we restore it. That is not strictly
necessary but some programs falsely assume a cleared
signal mask. */
+ if ( !pth_kill () )
+ log_error ("pth_kill failed in foked process\n");
+
#ifdef HAVE_SIGPROCMASK
if (startup_signal_mask_valid)
{