freebsd-ports/irc/unreal/files/patch-ircd.c
Martin Wilke d7d19c8326 - Update to 3.2.8.1
PR:		137923
Submitted by:	Gerrit Beine <gerrit.beine@gmx.de> (maintainer)
2009-08-18 20:48:24 +00:00

14 lines
416 B
C

--- src/ircd.c 2009-03-01 19:37:58.000000000 +0100
+++ src/ircd.c 2009-08-18 16:20:39.000000000 +0200
@@ -1369,9 +1369,9 @@
}
#endif
#ifndef _WIN32
- mkdir("tmp", S_IRUSR|S_IWUSR|S_IXUSR); /* Create the tmp dir, if it doesn't exist */
+ mkdir("%%RUNDIR%%/tmp", S_IRUSR|S_IWUSR|S_IXUSR); /* Create the tmp dir, if it doesn't exist */
#else
- mkdir("tmp");
+ mkdir("%%RUNDIR%%/tmp");
#endif
#ifndef _WIN32
/*