Commit 43ef5f5d3ff47b593b88c81a74104786b375b241

Con Kolivas 2011-07-11T22:45:19

Get rid of the flaky time_lock and use the thread safe localtime_r instead.