chiark / gitweb /
time-util: when converting to time_t do something useful in 2038
authorLennart Poettering <lennart@poettering.net>
Thu, 2 Feb 2017 17:33:36 +0000 (18:33 +0100)
committerSven Eden <yamakuzure@gmx.net>
Mon, 17 Jul 2017 15:58:36 +0000 (17:58 +0200)
commitf5ec357713381a95b30fa4f3d18aa092a632cfa9
treeeed2e4e7a596b92cad98cefa87499bc4110b2955
parentcb4c5148b5dab1eaf42347bde0368b6df916a206
time-util: when converting to time_t do something useful in 2038

On systems where time_t is 32bit we should invalidate the
timeval/timespec instead of proceeding with a potentially overflown
value.
src/basic/time-util.c