On Fri, 20 Sep 2013, Daniel Stenberg wrote:

Thanks for pointing this out. I'll have to research this a bit then. It looks perhaps it is a 32bit vs 64bit thing and could be due to an overflow somewhere or whatever.

Right, like...

#if SIZEOF_TIME_T < 5
  /* 32 bit time_t can only hold dates to the beginning of 2038 */
  if(yearnum > 2037) {
    *output = 0x7fffffff;
    return PARSEDATE_LATER;
  }
#endif

;-)

I'll modify the test case instead. Tomorrow.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to