[Xapian-tickets] [Xapian] #665: Avoid C library functions not guaranteed to be thread-safe
Xapian
nobody at xapian.org
Fri Oct 25 21:25:26 BST 2019
#665: Avoid C library functions not guaranteed to be thread-safe
-------------------------+--------------------------
Reporter: olly | Owner: olly
Type: defect | Status: new
Priority: normal | Milestone: 1.4.x
Component: Library API | Version: 1.3.2
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
-------------------------+--------------------------
Comment (by james):
Can we do the poisoning in `config.h` so it only applies during library
compilation? We could then put bless blocks around any uses we want to
whitelist, such as in examples and tools. (Clang seems to support GCC
poison pragmas, but looks like it doesn't handle blessing. However we
could enable this for GCC only, because we really just want CI to fail
somewhere. Doesn't have to fail everywhere.)
--
Ticket URL: <https://trac.xapian.org/ticket/665#comment:10>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list