mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
g13: Move some code to a separate module.
* g13/g13-common.c, g13/g13-common.h: New. * g13/Makefile.am (g13_SOURCES): Add new files. * g13/g13.c (g13_errors_seen): Move to g13-common.c. (cmdline_conttype): New. (main): Use g13_init_signals and g13_install_emergency_cleanup. (emergency_cleanup, g13_exit): Move to g13-common.c. * g13/g13.h: Move OPT and some other code to g13-common.h. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
8eb3a1797a
commit
9e65bbd255
6 changed files with 190 additions and 101 deletions
|
@ -470,7 +470,7 @@ runner_cancel (runner_t runner)
|
|||
{
|
||||
runner->canceled = 1; /* Mark that we canceled this one already. */
|
||||
/* FIXME: This does only work if the thread emits status lines. We
|
||||
need to change the trhead to wait on an event. */
|
||||
need to change the thread to wait on an event. */
|
||||
runner->cancel_flag = 1;
|
||||
/* For now we use the brutal way and kill the process. */
|
||||
gnupg_kill_process (runner->pid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue