aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2002-06-28 12:02:43 +0000
committerMarcus Brinkmann <[email protected]>2002-06-28 12:02:43 +0000
commit406ec045632b43c2503ec19a5ebced9ff0ceace9 (patch)
tree1157d23df37936c409b9e5deb852869a3ab879c1
parent2002-06-28 Marcus Brinkmann <[email protected]> (diff)
downloadgpgme-406ec045632b43c2503ec19a5ebced9ff0ceace9.tar.gz
gpgme-406ec045632b43c2503ec19a5ebced9ff0ceace9.zip
2002-06-28 Marcus Brinkmann <[email protected]>
* keylist.c (gpgme_op_keylist_ext_start): Always use our own FD table (eg use synchronous mode).
-rw-r--r--gpgme/ChangeLog5
-rw-r--r--gpgme/keylist.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog
index 56fd9c69..ebae9756 100644
--- a/gpgme/ChangeLog
+++ b/gpgme/ChangeLog
@@ -1,5 +1,10 @@
2002-06-28 Marcus Brinkmann <[email protected]>
+ * keylist.c (gpgme_op_keylist_ext_start): Always use our own FD
+ table (eg use synchronous mode).
+
+2002-06-28 Marcus Brinkmann <[email protected]>
+
* ops.h (_gpgme_wait_on_condition): Remove HANG argument from
prototype and change return type to GpgmeError.
(_gpgme_wait_one): New prototype.
diff --git a/gpgme/keylist.c b/gpgme/keylist.c
index 032bac6c..5fe37011 100644
--- a/gpgme/keylist.c
+++ b/gpgme/keylist.c
@@ -620,7 +620,9 @@ gpgme_op_keylist_ext_start (GpgmeCtx ctx, const char *pattern[],
{
GpgmeError err = 0;
- err = _gpgme_op_reset (ctx, 0);
+ /* Keylist operations are always "synchronous" in the sense that we
+ don't add ourself to the global FD table. */
+ err = _gpgme_op_reset (ctx, 1);
if (err)
goto leave;