From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
To: guile-devel@gnu.org
Cc: wingo@igalia.com, deller@gmx.de, dave.anglin@bell.net,
John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Subject: [PATCH] Fix build of platforms where the stack grows upwards
Date: Tue, 4 Feb 2020 12:26:44 +0100 [thread overview]
Message-ID: <20200204112644.3325349-2-glaubitz@physik.fu-berlin.de> (raw)
In-Reply-To: <20200204112644.3325349-1-glaubitz@physik.fu-berlin.de>
* libguile/continuations.c (scm_dynthrow): Fix missing mra
parameter to grow_stack for SCM_STACK_GROWS_UP.
---
libguile/continuations.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libguile/continuations.c b/libguile/continuations.c
index 3f86c6bd4..67a47d38c 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)
--
2.25.0
prev parent reply other threads:[~2020-02-04 11:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-04 11:26 Fix build of platforms where the stack grows upwards John Paul Adrian Glaubitz
2020-02-04 11:26 ` John Paul Adrian Glaubitz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200204112644.3325349-2-glaubitz@physik.fu-berlin.de \
--to=glaubitz@physik.fu-berlin.de \
--cc=dave.anglin@bell.net \
--cc=deller@gmx.de \
--cc=guile-devel@gnu.org \
--cc=wingo@igalia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).