check_dirpath
static int check_dirpath(const char *, size_t, char *);
if (!check_dirpath(line, lineno, cp))