From 36c66a07e54d27df2fdad5e3b64e8731067a9cfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 18 Dec 2008 22:38:06 +0100 Subject: [PATCH] Don't use deprecated functions in `debug-malloc.c'. * libguile/debug-malloc.c (scm_malloc_stats): Use `scm_from_locale_string ()'. Patch by Linas Vepstas . --- libguile/debug-malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libguile/debug-malloc.c b/libguile/debug-malloc.c index 88e7c7cdc..4d04df5db 100644 --- a/libguile/debug-malloc.c +++ b/libguile/debug-malloc.c @@ -220,7 +220,7 @@ SCM_DEFINE (scm_malloc_stats, "malloc-stats", 0, 0, 0, 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;