[Pkg-gnupg-commit] [gnupg2] 13/180: gpgscm: Fix installation of error handler.
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Sat Dec 24 22:29:02 UTC 2016
This is an automated email from the git hooks/post-receive script.
dkg pushed a commit to branch master
in repository gnupg2.
commit 7b4e2ea274ace22245264f1759279390d0300a62
Author: Justus Winter <justus at g10code.com>
Date: Thu Nov 17 15:47:26 2016 +0100
gpgscm: Fix installation of error handler.
* tests/gpgscm/ffi.scm: Set '*error-hook*' again so that the
interpreter will use our function.
Signed-off-by: Justus Winter <justus at g10code.com>
---
tests/gpgscm/ffi.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/gpgscm/ffi.scm b/tests/gpgscm/ffi.scm
index fb18538..c5f373c 100644
--- a/tests/gpgscm/ffi.scm
+++ b/tests/gpgscm/ffi.scm
@@ -61,6 +61,7 @@
(_exit (cadr x)))
(else
(apply error x))))
+(set! *error-hook* throw)
;; Terminate the process returning STATUS to the parent.
(define (exit status)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git
More information about the Pkg-gnupg-commit
mailing list