$FreeBSD: tags/RELEASE_9_3_0/irc/unreal/files/patch-s_conf.c 340725 2014-01-22 17:40:44Z mat $

--- src/s_conf.c	2011-11-05 02:25:24.000000000 -0700
+++ src/s_conf.c	2011-11-28 10:21:38.000000000 -0800
@@ -9652,7 +9652,7 @@
 	{
 		char *urlfile = url_getfilename(url);
 		char *file_basename = unreal_getfilename(urlfile);
-		char *tmp = unreal_mktemp("tmp", file_basename);
+		char *tmp = unreal_mktemp("%%RUNDIR%%/tmp", file);
 		free(urlfile);
 
 		if (cached)
