[PATCH gpgme v3 0/5] gpg: Add option --exit-on-status-write-error

Daiki Ueno ueno at gnu.org
Tue Feb 9 09:03:49 CET 2016


Changes from v2 are:
- add VERSION argument to engine->ops->new
- add version check around --exit-on-status-write-error, as suggested
- use recursive mutex for pthread I/O callback example and test, this
  is necessary to avoid deadlock between the dispatch part of
  do_select() and remove_io_cb()
- revert the adjustment of the first argument of select(), which
  turned out to be unnecessary

Daiki Ueno (5):
  doc: Fix minor errors in I/O callback example
  tests: Fix select usage in t-eventloop
  Supply engine version to engine->ops->new
  gpg: Add option --exit-on-status-write-error
  tests: Add test for cancellation

 doc/gpgme.texi          |  22 +++-
 src/engine-assuan.c     |   3 +-
 src/engine-backend.h    |   3 +-
 src/engine-g13.c        |   3 +-
 src/engine-gpg.c        |   5 +-
 src/engine-gpgconf.c    |   3 +-
 src/engine-gpgsm.c      |   3 +-
 src/engine-spawn.c      |   3 +-
 src/engine-uiserver.c   |   3 +-
 src/engine.c            |   3 +-
 tests/gpg/.gitignore    |   1 +
 tests/gpg/Makefile.am   |  12 ++-
 tests/gpg/t-cancel.c    | 265 ++++++++++++++++++++++++++++++++++++++++++++++++
 tests/gpg/t-eventloop.c |   6 +-
 14 files changed, 318 insertions(+), 17 deletions(-)
 create mode 100644 tests/gpg/t-cancel.c

-- 
2.5.0




More information about the Gnupg-devel mailing list