chiark / gitweb /
time-util: make parse_timestamp() return -EINVAL if the input is very old date (...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 11 Jul 2017 17:12:48 +0000 (02:12 +0900)
committerSven Eden <yamakuzure@gmx.net>
Tue, 25 Jul 2017 07:48:11 +0000 (09:48 +0200)
commitd301fa1cd7502f2b460905fc97e19ed7fa2172c2
treebfb93b1c97c421a8049343ad0d2b612fc76522cb
parent951ccf2f8fa3d356273c9e0eca8658719a15ed9a
time-util: make parse_timestamp() return -EINVAL if the input is very old date (#6327)

This reverts 7635ab8e74ea4a94e81143c3077570a986df375c and makes parse_timestamp()
return -EINVAL if the input is older than 1970-01-01.

Fixes #6290.
src/basic/time-util.c