[Pkg-gnupg-commit] [gnupg2] 43/166: gpgscm: Fix build with list environments.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Mar 16 22:33:04 UTC 2017


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gnupg2.

commit 874424ee3cc795eae9972b6259a2cc4dcdbb868e
Author: Justus Winter <justus at g10code.com>
Date:   Tue Jan 31 13:53:28 2017 +0100

    gpgscm: Fix build with list environments.
    
    * tests/gpgscm/scheme.c (new_slot_spec_in_env): Provide preallocation
    inforomation if USE_ALIST_ENV.
    
    Signed-off-by: Justus Winter <justus at g10code.com>
---
 tests/gpgscm/scheme.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/gpgscm/scheme.c b/tests/gpgscm/scheme.c
index fe16d48..d2c3dfc 100644
--- a/tests/gpgscm/scheme.c
+++ b/tests/gpgscm/scheme.c
@@ -2699,6 +2699,7 @@ static INLINE void new_frame_in_env(scheme *sc, pointer old_env)
 static INLINE void new_slot_spec_in_env(scheme *sc, pointer env,
                                         pointer variable, pointer value)
 {
+#define new_slot_spec_in_env_allocates	2
   car(env) = immutable_cons(sc, immutable_cons(sc, variable, value), car(env));
 }
 

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