r1785 - trunk/varnish-cache/lib/libvarnish
Poul-Henning Kamp
phk at phk.freebsd.dk
Mon Jul 30 16:19:33 CEST 2007
In message <87ps2a0yfp.fsf at des.linpro.no>, =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= writes:
>"Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
>> Which OS doesn't have timegm() ?
>
>timegm() is a BSDism. Solaris doesn't have it, and I suspect other SysV
>derivatives (Tru64 etc.) don't either.
>
>> Lack of timegm() is so bogus that it should be handled in compat IMO.
>
>There is no reliable way to emulate it.
There is, force libc to live in UTC/GMT by setting env variables etc.
But this is a mess, which is why I want us to handle it in compat.
--
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