2002-06-14 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Fri, 14 Jun 2002 20:06:35 +0000 (20:06 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Fri, 14 Jun 2002 20:06:35 +0000 (20:06 +0000)
commitccde48c08d118182c5760d7f4c02e157b28420cc
tree3f3ae58b38ee0fa5a1dc37655c687ccd44a3ad72
parent2fe7046d157edc8d9e335faf2ba6a0e7cc2cf6d9
2002-06-14  Marcus Brinkmann  <marcus@g10code.de>

* wait.c (do_select): Return -1 on error, and 0 if nothing to run.
(_gpgme_wait_one): Only set HANG to zero if do_select returned an
error, or there are no more file descriptors to wait on.
(_gpgme_wait_on_condition): Ignore return value from do_select for
now.
gpgme/ChangeLog
gpgme/wait.c