[pcre-dev] [Bug 2334] "make test" reports test failures when…

Góra strony
Delete this message
Autor: admin
Data:  
Dla: pcre-dev
Temat: [pcre-dev] [Bug 2334] "make test" reports test failures when running on macOS (x86_64)
https://bugs.exim.org/show_bug.cgi?id=2334

--- Comment #19 from Rich Siegel <siegel@???> ---
Thanks for submitting the patch! Unfortunately, it is not thread-safe. This is
immediately relevant to my interests. :-)

My previous patch using dispatch_once() ensures that the static initialization
is thread-safe.

Also, __APPLE__ is not a sufficient test for this case. It really does need to
be TARGET_OS_MAC, because the change is not applicable on iOS, tvOS, or watchOS
(all of which would define __APPLE__).

--
You are receiving this mail because:
You are on the CC list for the bug.