guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 01/02: Fix build on platforms where the stack grows upwa


From: Ludovic Courtès
Subject: [Guile-commits] 01/02: Fix build on platforms where the stack grows upwards.
Date: Sat, 8 Feb 2020 09:12:34 -0500 (EST)

civodul pushed a commit to branch master
in repository guile.

commit ad91517da1883e72469c610e85bb87050f3829b4
Author: John Paul Adrian Glaubitz <address@hidden>
AuthorDate: Tue Feb 4 13:11:53 2020 +0100

    Fix build on platforms where the stack grows upwards.
    
     * libguile/continuations.c (scm_dynthrow): Fix missing mra
       parameter to grow_stack for SCM_STACK_GROWS_UP.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 libguile/continuations.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libguile/continuations.c b/libguile/continuations.c
index 3f86c6b..67a47d3 100644
--- a/libguile/continuations.c
+++ b/libguile/continuations.c
@@ -323,7 +323,7 @@ scm_dynthrow (SCM cont, uint8_t *mra)
 
 #if SCM_STACK_GROWS_UP
   if (dst + continuation->num_stack_items >= &stack_top_element)
-    grow_stack (cont);
+    grow_stack (cont, mra);
 #else
   dst -= continuation->num_stack_items;
   if (dst <= &stack_top_element)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]