]> granicus.if.org Git - curl/commit
mktime() returns a time_t. time_t is often 32 bits, even on many architectures
authorDaniel Stenberg <daniel@haxx.se>
Tue, 8 Mar 2005 16:31:56 +0000 (16:31 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 8 Mar 2005 16:31:56 +0000 (16:31 +0000)
commit8a96aec5673b9ba4787cef1319c105facbe82a40
tree114f0b6b1a34f8b77457e0d88b0b76ace343f156
parent5cd9f57137fc185786f10b16ab73743386b95bd3
mktime() returns a time_t. time_t is often 32 bits, even on many architectures
that feature 64 bit 'long'.

Some systems have 64 bit time_t and deal with years beyond 2038. However, even
some of the systems with 64 bit time_t returns -1 for dates beyond 03:14:07
UTC, January 19, 2038. (Such as AIX 5100-06)
docs/libcurl/curl_getdate.3
lib/parsedate.c