Use Gnulib's `duplocale' module.
authorLudovic Courtès <ludo@gnu.org>
Mon, 23 Nov 2009 22:47:20 +0000 (23:47 +0100)
committerLudovic Courtès <ludo@gnu.org>
Mon, 23 Nov 2009 22:51:02 +0000 (23:51 +0100)
commitc3b16a5d8e31b78b69a6937ff6024d0ff5dbfd8c
treeaaf375bb9d9d846fb9f43edaacde6ac5b74d5f31
parent414e44412c2ebea80028d56bc80559e854524c6b
Use Gnulib's `duplocale' module.

* libguile/i18n.c (scm_make_locale): Simplify global locale handling,
  using duplocale(3) for all kinds of locales.
  (scm_init_i18n): Comment on why we don't just use `LC_GLOBAL_LOCALE'
  for `global_locale_smob'.

* m4/gnulib-cache.m4: Add `duplocale'.
lib/Makefile.am
lib/duplocale.c [new file with mode: 0644]
libguile/i18n.c
m4/duplocale.m4 [new file with mode: 0644]
m4/gnulib-cache.m4
m4/gnulib-comp.m4