diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-11-11 09:26:09 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-11-11 09:26:09 +0000 |
commit | cd73a733c78b7ab7b4e3ccaca9350bbcce124142 (patch) | |
tree | 4d9772c476213fa9c7f4034d7860c75f97b83dc5 /docs/libcurl/curl_getdate.3 | |
parent | 8ef8e949bd07a72918565f4482f8250a55a2f2dc (diff) | |
download | curl-cd73a733c78b7ab7b4e3ccaca9350bbcce124142.tar.gz |
dates from 2038 or later now return 0x7fffffff when 32 bit time_t is used
Diffstat (limited to 'docs/libcurl/curl_getdate.3')
-rw-r--r-- | docs/libcurl/curl_getdate.3 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/libcurl/curl_getdate.3 b/docs/libcurl/curl_getdate.3 index 65a0e738b..9d13433a3 100644 --- a/docs/libcurl/curl_getdate.3 +++ b/docs/libcurl/curl_getdate.3 @@ -83,6 +83,9 @@ only ones RFC2616 says HTTP applications may use. .SH RETURN VALUE This function returns -1 when it fails to parse the date string. Otherwise it returns the number of seconds as described. + +If the year is larger than 2037 on systems with 32 bit time_t, this function +will return 0x7fffffff (since that is the largest possible 31 bit number). .SH REWRITE The former version of this function was built with yacc and was not only very large, it was also never quite understood and it wasn't possible to build with |