Closed kroeckx closed 8 years ago
You are completely right: these stub functions had been written a long time ago and were just good enough for one case study in which gmtime
was only applied to the result of time()
.
Both problems should be fixed in the latest commit.
common_helpers/common_time.c currently contains:
This has 2 effects:
I don't see a reason why it should use this fixed value. I'm actually reading this time_t from a file so I expect gmtime() to convert for that time and might end up with a wrong result.