r436 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Tue Jul 11 19:53:44 CEST 2006


Author: phk
Date: 2006-07-11 19:53:44 +0200 (Tue, 11 Jul 2006)
New Revision: 436

Modified:
   trunk/varnish-cache/bin/varnishd/varnishd.c
Log:
Unbuffer stdout/stderr


Modified: trunk/varnish-cache/bin/varnishd/varnishd.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/varnishd.c	2006-07-11 17:23:41 UTC (rev 435)
+++ trunk/varnish-cache/bin/varnishd/varnishd.c	2006-07-11 17:53:44 UTC (rev 436)
@@ -489,6 +489,9 @@
 	const char *hflag = "classic";
 
 	register_printf_render_std((const unsigned char *)"HVQ");
+
+	setbuf(stdout, NULL);
+	setbuf(stderr, NULL);
  
 	VCC_InitCompile();
 




More information about the varnish-commit mailing list