diff options
author | Werner Koch <[email protected]> | 2015-09-14 16:49:32 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-09-16 17:03:09 +0000 |
commit | 9e65bbd255c43f0e59f35b0003052234d69042be (patch) | |
tree | a293935c8200394d7c2871d1cbbcc6dad74c5c7d /g13/runner.c | |
parent | gpg: Fix skip function dummy parameter. (diff) | |
download | gnupg-9e65bbd255c43f0e59f35b0003052234d69042be.tar.gz gnupg-9e65bbd255c43f0e59f35b0003052234d69042be.zip |
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 <[email protected]>
Diffstat (limited to 'g13/runner.c')
-rw-r--r-- | g13/runner.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g13/runner.c b/g13/runner.c index 905a0d149..35c68437e 100644 --- a/g13/runner.c +++ b/g13/runner.c @@ -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); |