]> git.ipfire.org Git - thirdparty/systemd.git/commit
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)
committerLennart Poettering <lennart@poettering.net>
Thu, 2 Feb 2017 19:12:31 +0000 (20:12 +0100)
commitf977849c244b789c3530a4da8e00f2ad98c79f1f
tree372aa2e4b85f7efc0ab4cbb82b56ea8ba33cf469
parent1bb4b028a380d74cff6399ea1d8ffcf1b2f122bc
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