]> 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 22:09:59 +0000 (00:09 +0200)
commitcf1f6e74bf5fcf6c1491f37d27abc63567354224
tree75b749ee756d8f8a56c9fa58d8da50e3fb507495
parent48cafdc8433a2994e1950ae1a11a138495726580
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