diff options
Diffstat (limited to 'irc/unreal/files/patch-ircd.c')
-rw-r--r-- | irc/unreal/files/patch-ircd.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/irc/unreal/files/patch-ircd.c b/irc/unreal/files/patch-ircd.c new file mode 100644 index 000000000000..ea4581e93bf2 --- /dev/null +++ b/irc/unreal/files/patch-ircd.c @@ -0,0 +1,14 @@ +--- 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 + /* |