Opened 17 years ago

Closed 17 years ago

#488 closed Bugs (None)

c_local_adjustor is not thread-safe due to using localtime()

Reported by: klichota Owned by: az_sw_dude
Milestone: Component: date_time
Version: None Severity:
Keywords: Cc:

Description

c_local_adjustor is not thread-safe due to using 
localtime(). It should be changed to use localtime_r() or, at 
least, docs should mention that it is not thread-safe. 
 
The same applies to all other boost units using 
localtime(). 

Change History (1)

comment:1 by klichota, 17 years ago

Status: assignedclosed
Logged In: YES 
user_id=667506

Looks like it has been fixed in version 1.33 
Note: See TracTickets for help on using tickets.