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)
commit766f2f85210202b47767c4bdecfd51b49cc5fdc1
treea2f01050c81dfb69ce4d359642b0c491ef1b3c98
parent7b3eb7f5e93492618d50abfc7eece1a8f0749df5
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:
trunk/gpgme/ChangeLog
trunk/gpgme/decrypt-verify.c
trunk/gpgme/decrypt.c
trunk/gpgme/delete.c
trunk/gpgme/encrypt.c
trunk/gpgme/export.c
trunk/gpgme/genkey.c
trunk/gpgme/import.c
trunk/gpgme/keylist.c
trunk/gpgme/sign.c
trunk/gpgme/verify.c
trunk/gpgme/wait.c