tony.luck@intel.com wrote: > > > There was a time-parsing bug somewhere, where mktime() got invoked on a > > UTC date. I proposed changing it to curl_gettime() instead. > > Here's a patch to switch to using curl_getdate(): Another dependency :-( I can live without http-pull but not without commit-tree. What's wrong with the patch I sent to fix this: http://marc.theaimsgroup.com/?m=111446501003389 > + /* find the timezone at the end */ > + p = date + strlen(date); > + while (p > date && isdigit(*--p)) > + ; > + if ((*p == '+' || *p == '-') && strlen(p) == 5) > + snprintf(result, maxlen, "%lu %5.5s", then, p); This will choke on dates from Linus which have a trailing comment: Date: Fri, 29 Apr 2005 15:26:14 -0700 (PDT) Ciao, ET. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Sat Apr 30 13:23:41 2005
This archive was generated by hypermail 2.1.8 : 2005-04-30 13:23:41 EST