View | Details | Raw Unified | Return to bug 137993
Collapse All | Expand All

(-)irc/unreal/files/patch-modules.c (-1 / +10 lines)
Lines 1-5 Link Here
1
--- src/modules.c	2009-04-13 13:03:58.000000000 +0200
1
--- src/modules.c	2009-04-13 13:03:58.000000000 +0200
2
+++ src/modules.c	2009-08-18 16:29:34.000000000 +0200
2
+++ src/modules.c	2009-08-20 15:32:56.000000000 +0200
3
@@ -177,12 +177,12 @@
3
@@ -177,12 +177,12 @@
4
 {
4
 {
5
 	char tempbuf[PATH_MAX+1];
5
 	char tempbuf[PATH_MAX+1];
Lines 47-49 Link Here
47
 		strcat(tempbuf, hData.cFileName);
47
 		strcat(tempbuf, hData.cFileName);
48
 		remove(tempbuf);
48
 		remove(tempbuf);
49
 	}
49
 	}
50
@@ -323,7 +323,7 @@
51
 	path = path_;
52
 
53
 	
54
-	tmppath = unreal_mktemp("tmp", unreal_getfilename(path));
55
+	tmppath = unreal_mktemp("%%RUNDIR%%/tmp", unreal_getfilename(path));
56
 	if (!tmppath)
57
 		return "Unable to create temporary file!";
58
 #ifndef _WIN32

Return to bug 137993