]> Savannah Git Hosting - gnulib.git/commit
getlocalename_l-unsafe: New module.
authorBruno Haible <bruno@clisp.org>
Sat, 22 Feb 2025 17:11:38 +0000 (18:11 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 22 Feb 2025 17:59:59 +0000 (18:59 +0100)
commit81ee5a4ef374c2c2232ba6f5b7ebcf9515c4dba7
treee62ec8b0cf69e843cba57f2230c2c552a51ec82d
parent6e6eb2162eea328d1b85e68358441d1004f24be6
getlocalename_l-unsafe: New module.

* lib/getlocalename_l-unsafe.h: New file, based on
lib/getlocalename_l.c.
* lib/getlocalename_l-unsafe.c: New file.
* lib/getlocalename_l.c: Most code moved to
lib/getlocalename_l-unsafe.c.
(getlocalename_l): Implement based on getlocalename_l_unsafe.
* m4/getlocalename_l.m4 (gl_FUNC_GETLOCALENAME_L_UNSAFE,
gl_PREREQ_GETLOCALENAME_L_UNSAFE): New macros.
(gl_FUNC_GETLOCALENAME_L_SIMPLE): Require
gl_FUNC_GETLOCALENAME_L_UNSAFE.
(gl_PREREQ_GETLOCALENAME_L_SIMPLE): Now empty.
* modules/getlocalename_l-unsafe: New file.
* modules/getlocalename_l-simple (Files): Remove
lib/localename-table.h, lib/localename-table.c,
m4/intl-thread-locale.m4.
(Depends-on): Add getlocalename_l-unsafe. Remove setlocale-messages,
setlocale-null, free-posix.
(Makefile.am): Don't compile localename-table.c.
ChangeLog
lib/getlocalename_l-unsafe.c [new file with mode: 0644]
lib/getlocalename_l-unsafe.h [new file with mode: 0644]
lib/getlocalename_l.c
m4/getlocalename_l.m4
modules/getlocalename_l-simple
modules/getlocalename_l-unsafe [new file with mode: 0644]