mirror of
https://github.com/curl/curl.git
synced 2026-07-24 14:27:16 +03:00
dates from 2038 or later now return 0x7fffffff when 32 bit time_t is used
This commit is contained in:
parent
8ef8e949bd
commit
cd73a733c7
5 changed files with 20 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue