mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-10 03:54:54 -06:00
Improved POSIX compatibility (OpenBSD, NetBSD support)
git-svn-id: svn://ultimatepp.org/upp/trunk@1095 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
4f33d6f280
commit
107b0a4952
16 changed files with 70 additions and 29 deletions
|
|
@ -46,7 +46,7 @@ static void sLogFile(char *fn, const char *app = ".log")
|
|||
const char *q = strrchr(exe, '/');
|
||||
if(q)
|
||||
exe = q + 1;
|
||||
if(!exe)
|
||||
if(!*exe)
|
||||
exe = "upp";
|
||||
strcat(path, exe);
|
||||
mkdir(path, 0755);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue