From: Marcus Brinkmann Date: Fri, 28 Jun 2002 12:02:43 +0000 (+0000) Subject: 2002-06-28 Marcus Brinkmann X-Git-Tag: gpgme-1.2.0@1385~912 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=652ae6fc2c978e9354b04bbb773abf2d6b666cbd;p=gpgme.git 2002-06-28 Marcus Brinkmann * keylist.c (gpgme_op_keylist_ext_start): Always use our own FD table (eg use synchronous mode). --- diff --git a/trunk/gpgme/ChangeLog b/trunk/gpgme/ChangeLog index 56fd9c6..ebae975 100644 --- a/trunk/gpgme/ChangeLog +++ b/trunk/gpgme/ChangeLog @@ -1,3 +1,8 @@ +2002-06-28 Marcus Brinkmann + + * keylist.c (gpgme_op_keylist_ext_start): Always use our own FD + table (eg use synchronous mode). + 2002-06-28 Marcus Brinkmann * ops.h (_gpgme_wait_on_condition): Remove HANG argument from diff --git a/trunk/gpgme/keylist.c b/trunk/gpgme/keylist.c index 032bac6..5fe3701 100644 --- a/trunk/gpgme/keylist.c +++ b/trunk/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;