guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] GNU Guile branch, master, updated. release_1-9-3-71-ge7a


From: Ludovic Courtès
Subject: [Guile-commits] GNU Guile branch, master, updated. release_1-9-3-71-ge7acfa8
Date: Wed, 14 Oct 2009 23:32:54 +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".

http://git.savannah.gnu.org/cgit/guile.git/commit/?id=e7acfa88bc26e7c22b1053e2c807cd4b737cfb63

The branch, master has been updated
       via  e7acfa88bc26e7c22b1053e2c807cd4b737cfb63 (commit)
      from  31ab99de563027fe2bceb60bbd712407fcaf868e (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 e7acfa88bc26e7c22b1053e2c807cd4b737cfb63
Author: Ludovic Courtès <address@hidden>
Date:   Thu Oct 15 01:32:36 2009 +0200

    Use pointer-less memory for `scm_gc_strdup ()'.
    
    * libguile/gc-malloc.c (scm_gc_strndup): Use `GC_MALLOC_ATOMIC ()'
      instead of `GC_MALLOC ()'.

-----------------------------------------------------------------------

Summary of changes:
 libguile/gc-malloc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libguile/gc-malloc.c b/libguile/gc-malloc.c
index e48d2cf..a96a186 100644
--- a/libguile/gc-malloc.c
+++ b/libguile/gc-malloc.c
@@ -236,7 +236,7 @@ scm_gc_free (void *mem, size_t size, const char *what)
 char *
 scm_gc_strndup (const char *str, size_t n, const char *what)
 {
-  char *dst = GC_MALLOC (n+1);
+  char *dst = GC_MALLOC_ATOMIC (n + 1);
   memcpy (dst, str, n);
   dst[n] = 0;
   return dst;


hooks/post-receive
-- 
GNU Guile




reply via email to

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