e3fc89890c8f5cb4c09f936209e46878d2f2ea67
pun intended) that I'm touching the time library. Brian Schack reported that the traffic scheduler messes up the timestamps of the atlas network output. As it turns out, the c library functions asctime, and gmtime use a static copy of the tm struct to do the internal formatting. Our linux port of the SGTime class, incidentally, also stored it's master time stamp in this very same struct. Thus, formatting an arbitrary time value, would have the unwanted side effect of time travel. Usually, this would go unnoticed, because the actual time parameters would be updated before any damage could be done. But unwanted side effects, as in Brian's example could occur. On the MSVC port this appears to not have been a problem. Since that port used a copy of the tm struct to store it's master time stamps. Since the MSVC code also compiles cleanly on linux, it seems to be the way to go to use that approach. In addition, it also removes some conditional compile directives. I've only run a short test, but didn't see any undesirable side effects.
[ Nothing here at this time. ]
Description
Languages
C++
85.5%
C
13.1%
CMake
1.4%