[Xapian-tickets] [Xapian] #665: Avoid C library functions not guaranteed to be thread-safe

Xapian nobody at xapian.org
Wed Aug 12 08:12:39 BST 2020


#665: Avoid C library functions not guaranteed to be thread-safe
-------------------------+-------------------------------
 Reporter:  Olly Betts   |             Owner:  Olly Betts
     Type:  defect       |            Status:  assigned
 Priority:  normal       |         Milestone:  1.5.0
Component:  Library API  |           Version:  git master
 Severity:  normal       |        Resolution:
 Keywords:               |        Blocked By:
 Blocking:               |  Operating System:  All
-------------------------+-------------------------------
Comment (by Olly Betts):

 That page now suggests that GCC11 and a recent MSVC version support
 `std::from_chars()` for floating point types (search for "Elementary
 string conversions" to find the relevant entry) so probably using this if
 available is the best option overall, and will get better with time.
-- 
Ticket URL: <https://trac.xapian.org/ticket/665#comment:20>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list