mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 19:50:24 +02:00
fix scm_gc_strdup invocation
* libguile/i18n.c (get_current_locale): Fix scm_gc_strdup invocation.
This commit is contained in:
parent
406524ea98
commit
0b4f77192d
1 changed files with 1 additions and 1 deletions
|
@ -508,7 +508,7 @@ get_current_locale (SCM *result)
|
|||
|
||||
current_locale = setlocale (LC_ALL, NULL);
|
||||
if (current_locale != NULL)
|
||||
c_locale->locale_name = scm_gc_strdup (current_locale);
|
||||
c_locale->locale_name = scm_gc_strdup (current_locale, "locale");
|
||||
else
|
||||
err = EINVAL;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue