From db9725fd02d49effaa9e40413b507cfd1804377e Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Fri, 12 Mar 2021 22:38:21 +0100 Subject: [PATCH] Don't force installation of GMP allocators in guile shell * libguile/guile.c (main): Don't override initial setting of scm_install_gmp_memory_functions. Thanks to Andrew Whatson for the fix. --- libguile/guile.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libguile/guile.c b/libguile/guile.c index bafe5d66e..8283ef6fa 100644 --- a/libguile/guile.c +++ b/libguile/guile.c @@ -91,7 +91,6 @@ main (int argc, char **argv) if (should_install_locale () && setlocale (LC_ALL, "") == NULL) fprintf (stderr, "guile: warning: failed to install locale\n"); - scm_install_gmp_memory_functions = 1; scm_boot_guile (argc, argv, inner_main, 0); return 0; /* never reached */ }