Lines Matching defs:path
59 "[P:path?Write a diagnostic for each pathname operand that:]"
64 "[a:all|portability?Equivalent to \b--components\b \b--path\b.]"
88 static long mypathconf(const char *path, int op)
95 if ((r = strtol(astconf(ops[op], path, NiL), NiL, 0)) < 0 && !errno)
101 * returns 1 if <path> passes test
103 static int pathchk(char* path, int mode)
105 register char *cp=path, *cpold;
110 if(!*path)
113 error(2,"path is empty");
160 cp=path;
177 r = mypathconf(path, 0);
189 error(2,"%s: pathname too long",path);
201 error(2,"%s: path component begins with '-'",path,fmtquote(buf, NiL, "'", 1, 0));
209 error(2,"%s: '%s' not in portable character set",path,fmtquote(buf, NiL, "'", 1, 0));
219 if((cp-path) >= path_max)
221 error(2, "%s: pathname too long", path);
226 error(2, "%s: component name %.*s too long", path, cp-cpold-1, cpold);