[git] GnuPG - branch, master, updated. gnupg-2.1.19-107-g90932bd

by Justus Winter cvs at cvs.gnupg.org
Mon Apr 3 11:54:48 CEST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".

The branch, master has been updated
       via  90932bdad607d06f4f040e3457caddba79ba8b7e (commit)
      from  3f6d949011f485613bb4bd3e06a2643be79cce40 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 90932bdad607d06f4f040e3457caddba79ba8b7e
Author: Justus Winter <justus at g10code.com>
Date:   Thu Mar 30 12:19:01 2017 +0200

    gpgscm: Slightly improve the procedure dispatch.
    
    * tests/gpgscm/scheme.c (procnum): Procedures always have an integer
    number, so we can safely use the cheaper 'ivalue_unchecked'.
    
    Signed-off-by: Justus Winter <justus at g10code.com>

diff --git a/tests/gpgscm/scheme.c b/tests/gpgscm/scheme.c
index b76e83c..fbc562d 100644
--- a/tests/gpgscm/scheme.c
+++ b/tests/gpgscm/scheme.c
@@ -274,7 +274,7 @@ INTERFACE INLINE int is_syntax(pointer p)   { return (typeflag(p)&T_SYNTAX); }
 INTERFACE INLINE int is_proc(pointer p)     { return (type(p)==T_PROC); }
 INTERFACE INLINE int is_foreign(pointer p)  { return (type(p)==T_FOREIGN); }
 INTERFACE INLINE char *syntaxname(pointer p) { return strvalue(car(p)); }
-#define procnum(p)       ivalue(p)
+#define procnum(p)       ivalue_unchecked(p)
 static const char *procname(pointer x);
 
 INTERFACE INLINE int is_closure(pointer p)  { return (type(p)==T_CLOSURE); }

-----------------------------------------------------------------------

Summary of changes:
 tests/gpgscm/scheme.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
The GNU Privacy Guard
http://git.gnupg.org




More information about the Gnupg-commits mailing list