]> Savannah Git Hosting - gnulib.git/commit
call_once: Work around Cygwin 3.5.3 bug.
authorBruno Haible <bruno@clisp.org>
Thu, 30 May 2024 08:55:40 +0000 (10:55 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 31 May 2024 17:45:57 +0000 (19:45 +0200)
commit1c4f00661a3372634d0fa82a3f488c164e0c9b18
tree4a510b188460b8e1754ab1d0130a109521998b0c
parent925febd945419373d939bac2681103c42f9268dd
call_once: Work around Cygwin 3.5.3 bug.

* m4/call_once.m4 (gl_FUNC_CALL_ONCE): Require AC_CANONICAL_HOST.
On Cygwin, set REPLACE_CALL_ONCE to 1.
* lib/call_once.c (call_once): On Cygwin, use a cast, to avoid a
compiler warning.
* modules/call_once (Depends-on): Add pthread-once.
* doc/posix-functions/call_once.texi: Mention the Cygwin bug.
ChangeLog
doc/posix-functions/call_once.texi
lib/call_once.c
m4/call_once.m4
modules/call_once