dates from 2038 or later now return 0x7fffffff when 32 bit time_t is used
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user