mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-29 07:02:12 +00:00
basedir on UNIX should not be "" as the fallback.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5761 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
b095410ce6
commit
2b21ab1164
1 changed files with 1 additions and 1 deletions
|
@ -1190,7 +1190,7 @@ int main (int c, const char **v)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
parms.basedir = ""; //play it safe when realpath is too awkward to use. don't depend upon "./" working, and hope that the user uses -basedir or simply doesn't care about path prints (hopefully its only windows libraries that change the working dir without the program's permission).
|
parms.basedir = "./";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
memset(bindir, 0, sizeof(bindir)); //readlink does NOT null terminate, apparently.
|
memset(bindir, 0, sizeof(bindir)); //readlink does NOT null terminate, apparently.
|
||||||
|
|
Loading…
Reference in a new issue