From: des Date: Mon, 30 Jul 2007 13:54:48 +0000 (+0000) Subject: Explicitly set TZ to GMT. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ef1e957f6878222a42f50154da548a45556bb3d;p=varnish Explicitly set TZ to GMT. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1786 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/varnishd.c b/varnish-cache/bin/varnishd/varnishd.c index 2ef32de2..ab9cff79 100644 --- a/varnish-cache/bin/varnishd/varnishd.c +++ b/varnish-cache/bin/varnishd/varnishd.c @@ -387,6 +387,9 @@ main(int argc, char *argv[]) setbuf(stdout, NULL); setbuf(stderr, NULL); + setenv("TZ", "GMT", 1); + tzset(); + memset(cli, 0, sizeof cli); cli[0].sb = vsb_new(NULL, NULL, 0, VSB_AUTOEXTEND); XXXAN(cli[0].sb);