CHAR_SEP
pathend[-1] != CHAR_SEP) && (S_ISDIR(sb.st_mode)
*pathend++ = CHAR_SEP;
while (*p != CHAR_EOS && *p != CHAR_SEP) {
while (*pattern == CHAR_SEP)