]> err.no Git - varnish/commitdiff
Unbuffer stdout/stderr
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 11 Jul 2006 17:53:44 +0000 (17:53 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 11 Jul 2006 17:53:44 +0000 (17:53 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@436 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/varnishd.c

index a595d78a82868c51e582efed0f0c7bd51cd6ce61..4d15519aed814e63cb3863641afa42da20785e69 100644 (file)
@@ -489,6 +489,9 @@ main(int argc, char *argv[])
        const char *hflag = "classic";
 
        register_printf_render_std((const unsigned char *)"HVQ");
+
+       setbuf(stdout, NULL);
+       setbuf(stderr, NULL);
  
        VCC_InitCompile();