From 1ff1aa188240fb10fb13ab51c38836f973e08857 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 14 Oct 2025 12:30:31 +0200 Subject: Slight changes to comments and trace output. -- --- NEWS | 2 +- src/posix-io.c | 2 +- src/w32-io.c | 2 +- src/wait.c | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/NEWS b/NEWS index b94d759c..6a9aa716 100644 --- a/NEWS +++ b/NEWS @@ -5,7 +5,7 @@ Noteworthy changes in version 2.0.2 (unreleased) [C45/A0/R)] Noteworthy changes in version 2.0.1 (2025-09-23) [C45/A0/R1] ------------------------------------------------ - * gnupg-manage-keys: New tool as a framework for adding features + * gnupg-key-manage: New tool as a framework for adding features which would normally be implemented by a script. Right now it supports the commands "identify" and "delete-expired-keys". diff --git a/src/posix-io.c b/src/posix-io.c index aa69bfc9..25351577 100644 --- a/src/posix-io.c +++ b/src/posix-io.c @@ -854,7 +854,7 @@ _gpgme_io_select_select (struct io_select_fd_s *fds, size_t nfds, int nonblock) if (nonblock) timeout.tv_sec = 0; - TRACE_SEQ (dbg_help, "select on [ "); + TRACE_SEQ (dbg_help, "selecting [ "); any = 0; for (i = 0; i < nfds; i++) diff --git a/src/w32-io.c b/src/w32-io.c index fdcb7aa1..967d72cd 100644 --- a/src/w32-io.c +++ b/src/w32-io.c @@ -1650,7 +1650,7 @@ _gpgme_io_select (struct io_select_fd_s *fds, size_t nfds, int nonblock) #if 0 restart: #endif - TRACE_SEQ (dbg_help, "select on [ "); + TRACE_SEQ (dbg_help, "selecting [ "); any = 0; nwait = 0; count = 0; diff --git a/src/wait.c b/src/wait.c index c76f98f9..33617b66 100644 --- a/src/wait.c +++ b/src/wait.c @@ -199,7 +199,8 @@ _gpgme_run_io_cb (struct io_select_fd_s *an_fds, int checked, TRACE (DEBUG_CTX, "_gpgme_run_io_cb", item, "need to check"); fds = *an_fds; - fds.signaled = 0; + fds.signaled = 0; /* Clear the signal because we already know + * about it and are running the callback. */ /* Just give it a quick poll. */ nr = _gpgme_io_select (&fds, 1, 1); assert (nr <= 1); -- cgit