The scm_makfrom0str routie is deprecated, don't use it.

Signed-off-by: Linas Vepstas <linasveps...@gmail.com>


---
 libguile/debug-malloc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: guile-1.8.6/libguile/debug-malloc.c
===================================================================
--- guile-1.8.6.orig/libguile/debug-malloc.c 2008-12-04 12:30:41.000000000 -0600
+++ guile-1.8.6/libguile/debug-malloc.c   2008-12-13 17:12:39.000000000 -0600
@@ -220,7 +220,7 @@ SCM_DEFINE (scm_malloc_stats, "malloc-st
   int i;
   for (i = 0; i < malloc_type_size + N_SEEK; ++i)
     if (malloc_type[i].key)
-      res = scm_acons (scm_makfrom0str ((char *) malloc_type[i].key),
+      res = scm_acons (scm_from_locale_string ((char *) malloc_type[i].key),
             scm_from_int ((int) malloc_type[i].data),
             res);
   return res;

Attachment: debug-patch
Description: Binary data

Reply via email to