From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: John Paul Adrian Glaubitz Newsgroups: gmane.lisp.guile.devel Subject: [PATCH, v2] Fix build on platforms where the stack grows upwards Date: Tue, 4 Feb 2020 13:11:53 +0100 Message-ID: <20200204121152.3335558-1-glaubitz@physik.fu-berlin.de> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="59170"; mail-complaints-to="usenet@ciao.gmane.io" Cc: wingo@igalia.com, deller@gmx.de, dave.anglin@bell.net, John Paul Adrian Glaubitz To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Tue Feb 04 13:18:45 2020 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iyxAB-000FEi-Lh for guile-devel@m.gmane-mx.org; Tue, 04 Feb 2020 13:18:43 +0100 Original-Received: from localhost ([::1]:57276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyxAA-0003cS-Nb for guile-devel@m.gmane-mx.org; Tue, 04 Feb 2020 07:18:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55120) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyx62-00005e-VH for guile-devel@gnu.org; Tue, 04 Feb 2020 07:14:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyx61-0007bR-LJ for guile-devel@gnu.org; Tue, 04 Feb 2020 07:14:26 -0500 Original-Received: from outpost17.zedat.fu-berlin.de ([130.133.4.110]:41693) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iyx61-0007YG-Ey for guile-devel@gnu.org; Tue, 04 Feb 2020 07:14:25 -0500 Original-Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by outpost.zedat.fu-berlin.de (Exim 4.85) with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (envelope-from ) id <1iyx5z-000B6v-97>; Tue, 04 Feb 2020 13:14:23 +0100 Original-Received: from z6.physik.fu-berlin.de ([160.45.32.137] helo=z6) by relay1.zedat.fu-berlin.de (Exim 4.85) with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (envelope-from ) id <1iyx5z-000JRv-6m>; Tue, 04 Feb 2020 13:14:23 +0100 Original-Received: from glaubitz by z6 with local (Exim 4.93) (envelope-from ) id 1iyx4V-00DznM-1p; Tue, 04 Feb 2020 13:12:51 +0100 X-Mailer: git-send-email 2.25.0 X-Originating-IP: 160.45.32.137 X-ZEDAT-Hint: RV X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 130.133.4.110 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20384 Archived-At: * 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(-) v2: - Improved grammar in commit message 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