[Pkg-gnupg-commit] [gnupg2] 26/112: gpgscm: Do not shadow common function name in catch macro.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue Aug 30 17:48:16 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 046338b8494c036a5e717130d3eadce0291126fc
Author: Justus Winter <justus at g10code.com>
Date:   Tue Jul 26 18:35:58 2016 +0200

    gpgscm: Do not shadow common function name in catch macro.
    
    * tests/gpgscm/init.scm (catch): Do not shadow 'exit'.
    
    Signed-off-by: Justus Winter <justus at g10code.com>
---
 tests/gpgscm/init.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/gpgscm/init.scm b/tests/gpgscm/init.scm
index 0889366..b32172b 100644
--- a/tests/gpgscm/init.scm
+++ b/tests/gpgscm/init.scm
@@ -572,8 +572,8 @@
 
 (macro (catch form)
      (let ((label (gensym)))
-          `(call/cc (lambda (exit)
-               (push-handler (lambda (*error*) (exit ,(cadr form))))
+          `(call/cc (lambda (**exit**)
+               (push-handler (lambda (*error*) (**exit** ,(cadr form))))
                (let ((,label (begin ,@(cddr form))))
                     (pop-handler)
                     ,label)))))

-- 
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