diff options
author | Mike Gorchak <mike.gorchak.qnx@gmail.com> | 2013-02-25 23:51:16 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-02-25 14:23:43 -0800 |
commit | e6e87516f569c2344f760287aec66f70da856c6d (patch) | |
tree | 815348aafa1fc05543c945d3876327544db055fa /git-send-email.perl | |
parent | Git 1.8.2-rc1 (diff) | |
download | tgif-e6e87516f569c2344f760287aec66f70da856c6d.tar.xz |
date.c: fix unsigned time_t comparison
tm_to_time_t() returns (time_t)-1 when it sees an error. On
platforms with unsigned time_t, this value will be larger than any
valid timestamp and will break the "Is this older than 10 days in
the future?" check.
Signed-off-by: Mike Gorchak <mike.gorchak.qnx@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-send-email.perl')
0 files changed, 0 insertions, 0 deletions