r4573 - trunk/varnish-cache/bin/varnishtest
phk at projects.linpro.no
phk at projects.linpro.no
Wed Feb 17 15:53:04 CET 2010
Author: phk
Date: 2010-02-17 15:53:01 +0100 (Wed, 17 Feb 2010)
New Revision: 4573
Modified:
trunk/varnish-cache/bin/varnishtest/vtc.c
Log:
Use /tmp as TMPDIR if not otherwise set.
Modified: trunk/varnish-cache/bin/varnishtest/vtc.c
===================================================================
--- trunk/varnish-cache/bin/varnishtest/vtc.c 2010-02-17 13:12:07 UTC (rev 4572)
+++ trunk/varnish-cache/bin/varnishtest/vtc.c 2010-02-17 14:53:01 UTC (rev 4573)
@@ -643,6 +643,7 @@
init_macro();
init_sema();
+ setenv("TMPDIR", "/tmp", 0);
vtc_tmpdir = tempnam(NULL, "vtc");
AN(vtc_tmpdir);
AZ(mkdir(vtc_tmpdir, 0700));
More information about the varnish-commit
mailing list