cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: 7.18.2: Possible bug in converting a cookie's expires attribute to unix timestamp ?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 23 Sep 2008 12:54:52 +0200 (CEST)

On Mon, 8 Sep 2008, Jamie Lokier wrote:

> So - up to you if you still believe in the simple function :-)
>
> I'm pretty sure it's correct on anything truly POSIX. And it's obviously a
> lot less dependent on platform quirks and corner cases in many ways than the
> mktime() version.

Yeah, I think I still prefer this approach over the previous one for
simplicitly and for better control of exactly what's going on. Thanks for the
code. This has now been committed to CVS!

-- 
  / daniel.haxx.se
Received on 2008-09-23