]> 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>
Thu, 30 May 2024 08:55:40 +0000 (10:55 +0200)
commit9eeae87d689cb51c3925290e5ab7214b286bafb8
tree5b3cc0c1658122b7837e1031153977b57e93375f
parent4fded4cbf3a395af794704c236467904b111fa74
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