2002-08-28 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Wed, 28 Aug 2002 20:31:31 +0000 (20:31 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Wed, 28 Aug 2002 20:31:31 +0000 (20:31 +0000)
commit61aa1947620080883f56c60ebbcc4e7ef485270d
tree3a542404e703a5ad1068624bd89bc1b81467b0e3
parent2ba4dc7998d30c06f17b5085e18eb4aedac40bb0
2002-08-28  Marcus Brinkmann  <marcus@g10code.de>

* posix-io.c (_gpgme_io_spawn): Use a double-fork approach.
Return 0 on success, -1 on error.
* version.c (_gpgme_get_program_version): Don't wait for the child.
* engine.c (_gpgme_engine_housecleaning): Function removed.
(do_reaping): Likewise.
(_gpgme_engine_add_child_to_reap_list): Likewise.
(struct reap_s): Removed.
(reap_list): Likewise.
(reap_list_lock): Likewise.
* engine.h (_gpgme_engine_io_event): Remove prototypes for
_gpgme_engine_housecleaning and
_gpgme_engine_add_child_to_reap_list.
* rungpg.c (_gpgme_gpg_release): Don't add child to reap list.
(struct gpg_object_s): Remove PID member.
(_gpgme_gpg_new): Don't initialize GPG->pid.
(_gpgme_gpg_spawn): Don't set GPG->pid.
* wait.c (run_idle): Removed.
(gpgme_wait): Run idle_function directly.
gpgme/ChangeLog
gpgme/engine.c
gpgme/engine.h
gpgme/posix-io.c
gpgme/rungpg.c
gpgme/version.c
gpgme/wait.c