Lines Matching refs:component
1298 char component[PATH_MAX];
1303 if (strlen(path) >= sizeof(component))
1307 * Descend the path, checking that each component is a
1312 strlcpy(component, path, sizeof(component));
1315 memcpy(component, path, cp - path);
1316 component[cp - path] = '\0';
1319 debug3("%s: checking '%s'", __func__, component);
1321 if (stat(component, &st) != 0)
1323 component, strerror(errno));
1327 cp == NULL ? "" : "component ", component);
1330 cp == NULL ? "" : "component ", component);
1655 /* Get the last component of the shell name. */