Path separator is ; on OS/2

This commit is contained in:
KO Myung-Hun
2015-05-07 12:51:22 +09:00
parent c29f892437
commit 8f633da789
5 changed files with 12 additions and 4 deletions

2
exec.c
View File

@ -1271,7 +1271,7 @@ search_path(const char *name, const char *lpath,
sp = lpath;
while (sp != NULL) {
xp = Xstring(xs, xp);
if (!(p = cstrchr(sp, ':')))
if (!(p = cstrchr(sp, PATH_SEP)))
p = sp + strlen(sp);
if (p != sp) {
XcheckN(xs, xp, p - sp);