2002-01-22 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Tue, 22 Jan 2002 15:11:53 +0000 (15:11 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Tue, 22 Jan 2002 15:11:53 +0000 (15:11 +0000)
commit6f7d1bc7704fb043439ecaf4fe14261eb56c10ab
treea6da5895dc6cfa646a5c8a557cca29a9f268ff35
parentabe732ef1c5add78d9f2877cd56985461c0fec88
2002-01-22  Marcus Brinkmann  <marcus@g10code.de>

* wait.c (_gpgme_wait_on_condition): If the process finished,
reset the pending flag.  Also if the operation was cancelled.

(struct proc_s): Rename READY to DONE.
(wait_item_s): Likewise.
(set_process_ready): Rename to ...
(set_process_done): ... this.
(_gpgme_remove_proc_from_wait_queue): Call set_process_done
instead set_process_ready.
(_gpgme_wait_on_condition): Likewise.
(do_select): Rename READY to DONE.

* verify.c (gpgme_op_verify): Do not set pending to zero here.
* sign.c (gpgme_op_sign): Likewise.
* import.c (gpgme_op_import): Likewise.
* genkey.c (gpgme_op_genkey): Likewise.
* export.c (gpgme_op_export): Likewise.
* encrypt.c (gpgme_op_encrypt): Likewise.
* delete.c (gpgme_op_delete): Likewise.
* decrypt-verify.c (gpgme_op_decrypt_verify): Likewise.
* decrypt.c (gpgme_op_decrypt): Likewise.
12 files changed:
gpgme/ChangeLog
gpgme/decrypt-verify.c
gpgme/decrypt.c
gpgme/delete.c
gpgme/encrypt.c
gpgme/export.c
gpgme/genkey.c
gpgme/import.c
gpgme/keylist.c
gpgme/sign.c
gpgme/verify.c
gpgme/wait.c