httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roy T. Fielding" <field...@liege.ICS.UCI.EDU>
Subject Re: Long-lived software?
Date Mon, 28 Oct 1996 08:00:07 GMT
> What is time_t on an Alpha?

Probably still a long, but in this case 63 bits worth (not counting sign).
Do you think the date parser should check for

      if (LONG_MAX > 2147483647L)

before limiting the year < 2038?  I can do that, but it (and the checking
of 100 and 400 year leap adjustments) will add overhead which won't be
used for another 41 years.  Right now, the code just considers any date
beyond 1/1/2038 to be invalid.  Hmmmm, OTOH, I could add it as an #ifdef.


View raw message