Lines Matching defs:path
146 char *p, *path;
201 if ((path = join(p, _PATH_NEXRC)) == NULL) {
205 switch (exrc_isok(sp, &hsb, path, 0, 1)) {
207 free(path);
208 if ((path = join(p, _PATH_EXRC)) == NULL) {
213 &hsb, path, 0, 1) == RCOK && ex_run_file(sp, path))
219 if (ex_run_file(sp, path))
223 free(path);
358 exrc_isok(SCR *sp, struct stat *sbp, char *path, int rootown, int rootid)
366 if (stat(path, sbp))
384 denied: a = msg_print(sp, path, &nf1);
385 if (strchr(path, '/') == NULL && (buf = getcwd(NULL, 0)) != NULL) {