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
misc.c
View File

@ -1636,7 +1636,7 @@ make_path(const char *cwd, const char *file,
else if (use_cdpath) {
char *pend;
for (pend = plist; *pend && *pend != ':'; pend++)
for (pend = plist; *pend && *pend != PATH_SEP; pend++)
;
plen = pend - plist;
*cdpathp = *pend ? pend + 1 : NULL;