freebsd-ports/irc/unreal/files/patch-ircd.c
Pav Lucistnik bf23aa58d9 - Update to 3.2.3
PR:		ports/79429
Submitted by:	Gerrit Beine <tux@pinguru.net> (maintainer)
2005-04-11 18:56:40 +00:00

14 lines
394 B
C

--- src/ircd.c Wed Oct 27 20:45:26 2004
+++ src/ircd.c Mon Feb 7 04:19:55 2005
@@ -1182,9 +1182,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
/*