diff options
Diffstat (limited to 'scd')
-rw-r--r-- | scd/apdu.c | 1 | ||||
-rw-r--r-- | scd/app.c | 10 |
2 files changed, 5 insertions, 6 deletions
diff --git a/scd/apdu.c b/scd/apdu.c index 35b845b40..f34f8b7b8 100644 --- a/scd/apdu.c +++ b/scd/apdu.c @@ -43,7 +43,6 @@ #if defined(GNUPG_MAJOR_VERSION) # include "scdaemon.h" -# include "../common/exechelp.h" #endif /*GNUPG_MAJOR_VERSION*/ #include "../common/host2net.h" @@ -2498,7 +2498,7 @@ report_change (int slot, int old_status, int cur_status) gpg_error_t err; const char *args[9]; char numbuf1[30], numbuf2[30], numbuf3[30]; - gnupg_spawn_actions_t act = NULL; + gpgrt_spawn_actions_t act = NULL; sprintf (numbuf1, "%d", slot); sprintf (numbuf2, "0x%04X", old_status); @@ -2516,15 +2516,15 @@ report_change (int slot, int old_status, int cur_status) args[8] = NULL; fname = make_filename (gnupg_homedir (), "scd-event", NULL); - err = gnupg_spawn_actions_new (&act); + err = gpgrt_spawn_actions_new (&act); if (!err) { #ifndef HAVE_W32_SYSTEM - gnupg_spawn_actions_set_atfork (act, setup_env, envstr); + gpgrt_spawn_actions_set_atfork (act, setup_env, envstr); #endif - err = gnupg_process_spawn (fname, args, GNUPG_PROCESS_DETACHED, + err = gpgrt_process_spawn (fname, args, GPGRT_PROCESS_DETACHED, act, NULL); - gnupg_spawn_actions_release (act); + gpgrt_spawn_actions_release (act); } if (err && gpg_err_code (err) != GPG_ERR_ENOENT) log_error ("failed to run event handler '%s': %s\n", |