]> err.no Git - varnish/commitdiff
Explicitly set TZ to GMT.
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 30 Jul 2007 13:54:48 +0000 (13:54 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Mon, 30 Jul 2007 13:54:48 +0000 (13:54 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1786 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/varnishd.c

index 2ef32de254c4470bc26d2e5ba8f10b6d7ef0ef8a..ab9cff796ea40de20f44a7ab9b3440bb68594ed7 100644 (file)
@@ -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);