localename: port gl_locale_name_thread_unsafe to FreeBSD
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 24 Sep 2012 19:41:27 +0000 (12:41 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 24 Sep 2012 19:43:43 +0000 (12:43 -0700)
commit4430dd023d6c2b7b63a87fa62dcc2360c5a34a12
treeff2a55daf4c80f2eea3cd7143ee9e74942318ba3
parent664a18513b61e82c49ed41b41edd752020b2cc42
localename: port gl_locale_name_thread_unsafe to FreeBSD

* lib/localename.c (gl_locale_name_thread_unsafe): Port to FreeBSD,
and use the simpler FreeBSD implementation on Mac OS X as well.
Original idea suggested by Ed Maste in
<http://lists.gnu.org/archive/html/bug-gnulib/2012-09/msg00094.html>.
ChangeLog
lib/localename.c