[Top][All Lists]

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

[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.7-265-gde2bc

From: Mark H Weaver
Subject: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.7-265-gde2bc67
Date: Mon, 01 Apr 2013 09:34:00 +0000

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 "GNU Guile".

The branch, stable-2.0 has been updated
       via  de2bc673bba931a70e3b96336cab6512a47541fe (commit)
      from  786ab4258fbf605f46287da5e7550d3ab4b68589 (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 de2bc673bba931a70e3b96336cab6512a47541fe
Author: Mark H Weaver <address@hidden>
Date:   Mon Apr 1 05:31:08 2013 -0400

    scm_string_join: properly sequence operations in ADD_TO_APPEND_LIST
    * libguile/srfi-13.c (scm_string_join): Properly sequence operations in
      ADD_TO_APPEND_LIST macro.


Summary of changes:
 libguile/srfi-13.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/libguile/srfi-13.c b/libguile/srfi-13.c
index e426887..4e5d572 100644
--- a/libguile/srfi-13.c
+++ b/libguile/srfi-13.c
@@ -439,8 +439,9 @@ SCM_DEFINE (scm_string_join, "string-join", 1, 2, 0,
       SCM *last_cdr_p = &append_list;
-#define ADD_TO_APPEND_LIST(x) \
-  (last_cdr_p = SCM_CDRLOC (*last_cdr_p = scm_list_1 (x)))
+#define ADD_TO_APPEND_LIST(x)                   \
+      ((*last_cdr_p = scm_list_1 (x)),          \
+       (last_cdr_p = SCM_CDRLOC (*last_cdr_p)))
       /* Build a list of strings to pass to 'string-append'.
          Here we assume that 'ls' has at least one element. */

GNU Guile

reply via email to

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