From 652ae6fc2c978e9354b04bbb773abf2d6b666cbd Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Fri, 28 Jun 2002 12:02:43 +0000 Subject: [PATCH] 2002-06-28 Marcus Brinkmann * keylist.c (gpgme_op_keylist_ext_start): Always use our own FD table (eg use synchronous mode). --- trunk/gpgme/ChangeLog | 5 +++++ trunk/gpgme/keylist.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) 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; -- 2.26.2