[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Don't use deprecated function
From: |
Linas Vepstas |
Subject: |
[PATCH] Don't use deprecated function |
Date: |
Sat, 13 Dec 2008 17:18:08 -0600 |
The scm_makfrom0str routie is deprecated, don't use it.
Signed-off-by: Linas Vepstas <address@hidden>
---
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;
debug-patch
Description: Binary data
- [PATCH] Don't use deprecated function,
Linas Vepstas <=