It does look like it is the localtime function not being thread safe as the problem. I have converted to localtime_r and I am running some test cases to see if I can break it.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum