Skip to content
Snippets Groups Projects
Commit 3bb7fd4c authored by Lactozilla's avatar Lactozilla :speech_balloon:
Browse files

Fix logfiles crashing Windoze

parent f83d0fe3
No related branches found
No related tags found
No related merge requests found
......@@ -197,9 +197,12 @@ int main(int argc, char **argv)
format, timeinfo);
}
if (logdir)
{
M_MkdirEachUntil(logfilename,
M_PathParts(logdir) - 1,
M_PathParts(logfilename) - 1, 0755);
}
#ifdef __unix__
logstream = fopen(logfilename, "w");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment