Skip to content

Conversation

dreibh
Copy link
Contributor

@dreibh dreibh commented Jun 24, 2018

  • Replaced (int)time(NULL) by gettimeofday(). Casting time() to int has the Y-2038 problem if sizeof(int) == 4.
  • Record unix time with fractional seconds (microseconds granularity, as from gettimeofday()).

* Replaced (int)time(NULL) by gettimeofday(). Casting time() to int has the Y-2038 problem if sizeof(int) == 4.
* Record unix time with fractional seconds (microseconds granularity, as from gettimeofday()).
@vgropp vgropp merged commit b5da3ed into vgropp:master Jun 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants