]> granicus.if.org Git - curl/commit
parsedate: fix date parsing for systems with 32 bit long
authorDaniel Stenberg <daniel@haxx.se>
Thu, 18 Jan 2018 19:24:05 +0000 (20:24 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 25 Jan 2018 21:20:52 +0000 (22:20 +0100)
commit1c39128d974666107fc6d9ea15f294036851f224
treec3a81a69310c7561f6bec4336abc80d6afa6d3ca
parent1433e4645b51a4ccb0b5e23a889ac9bd6093e3e2
parsedate: fix date parsing for systems with 32 bit long

Make curl_getdate() handle dates before 1970 as well (returning negative
values).

Make test 517 test dates for 64 bit time_t.

This fixes bug (3) mentioned in #2238

Closes #2250
configure.ac
docs/libcurl/curl_getdate.3
lib/curl_setup.h
lib/parsedate.c
tests/data/test517
tests/libtest/lib517.c