mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Merged Dirmngr with GnuPG.
A few code changes to support dirmngr.
This commit is contained in:
parent
70f3a9bbb6
commit
c3f08dcb72
61 changed files with 22335 additions and 177 deletions
|
@ -165,7 +165,8 @@ runner_release (runner_t runner)
|
|||
arbitrary NAME of the runner object. However it does not
|
||||
matter because that information is only used for
|
||||
diagnostics.) */
|
||||
gnupg_wait_process (runner->name, runner->pid, NULL);
|
||||
gnupg_wait_process (runner->name, runner->pid, 0, NULL);
|
||||
gnupg_release_process (runner->pid);
|
||||
}
|
||||
|
||||
xfree (runner->name);
|
||||
|
@ -370,7 +371,8 @@ runner_thread (void *arg)
|
|||
int exitcode;
|
||||
|
||||
log_debug ("runner thread waiting ...\n");
|
||||
err = gnupg_wait_process (runner->name, runner->pid, &exitcode);
|
||||
err = gnupg_wait_process (runner->name, runner->pid, 0, &exitcode);
|
||||
gnupg_release_process (runner->pid);
|
||||
runner->pid = (pid_t)(-1);
|
||||
if (err)
|
||||
log_error ("running `%s' failed (exitcode=%d): %s\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue