]> Savannah Git Hosting - gnulib.git/commit
setlocale-null: Don't use a lock in Cygwin >= 3.4.6.
authorBruno Haible <bruno@clisp.org>
Mon, 6 Feb 2023 17:33:37 +0000 (18:33 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 6 Feb 2023 17:33:37 +0000 (18:33 +0100)
commit6ffba6a32b3bfa13589a6b3e7489ee00a7354db2
tree70ecff1c8926f0f75f82a24b7813398ff3260162
parentc24b80755ec08abe0976483984fd0ddff3c12ca4
setlocale-null: Don't use a lock in Cygwin >= 3.4.6.

Road paved by Corinna Vinschen <vinschen@redhat.com>.

* m4/setlocale_null.m4 (gl_FUNC_SETLOCALE_NULL): Assume that
setlocale (LC_ALL, NULL) is multithread-safe in Cygwin >= 3.4.6.
* lib/setlocale_null.c: Update comments.
* tests/test-setlocale_null-mt-all.c: Likewise.
ChangeLog
lib/setlocale_null.c
m4/setlocale_null.m4
tests/test-setlocale_null-mt-all.c