agent: kill pinentry by SIGINT, fixing a bug to be killed by SIGINT.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 4 Feb 2013 00:07:22 +0000 (09:07 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 4 Feb 2013 00:07:22 +0000 (09:07 +0900)
commit42dd3956cc59297585c161ff735d89387a34d147
tree7caa1054736b61515786c41df073d4343d8aa069
parent3cfe527fa57167d0477c0f6250ca28e8f4dd1b0e
agent: kill pinentry by SIGINT, fixing a bug to be killed by SIGINT.

* agent/call-pinentry.c (atfork_cb): Reset signal mask and signal
handler for child process.
(agent_popup_message_stop): Send SIGINT (was: SIGKILL).
--
pinentry-curses should be killed by SIGINT, so that it can reset
terminal settings, but it didn't work.
agent/call-pinentry.c