From 406ec045632b43c2503ec19a5ebced9ff0ceace9 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). --- gpgme/ChangeLog | 5 +++++ gpgme/keylist.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gpgme/ChangeLog b/gpgme/ChangeLog index 56fd9c6..ebae975 100644 --- a/gpgme/ChangeLog +++ b/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/gpgme/keylist.c b/gpgme/keylist.c index 032bac6..5fe3701 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; -- 2.26.2