r1785 - trunk/varnish-cache/lib/libvarnish
Poul-Henning Kamp
phk at phk.freebsd.dk
Mon Jul 30 15:52:57 CEST 2007
In message <20070730135017.034F51EC429 at projects.linpro.no>, des at projects.linpro.no writes:
>Author: des
>Date: 2007-07-30 15:50:16 +0200 (Mon, 30 Jul 2007)
>New Revision: 1785
>
>Modified:
> trunk/varnish-cache/lib/libvarnish/time.c
>Log:
>Use mktime() rather than the unportable timegm(). The downside is that we're
>at the mercy of the TZ environment variable.
Which OS doesn't have timegm() ?
Lack of timegm() is so bogus that it should be handled in compat IMO.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the varnish-commit
mailing list