Lines Matching refs:fpath
322 char fpath[PATH_MAX];
347 while ((state = NSGetNextSearchPathEnumeration(state, fpath))) {
352 if (fpath[0] == '~') {
358 gret = glob(fpath, GLOB_TILDE, NULL, &pglob);
363 strlcpy(fpath, pglob.gl_pathv[i], sizeof(fpath));
371 strlcat(fpath, "/" kSettingsDir "/", sizeof(fpath));
372 strlcat(fpath, prog, sizeof(fpath));
373 strlcat(fpath, kPlistExtension, sizeof(fpath));
374 // printf("component: %s\n", fpath);
381 fd = open(fpath, O_RDONLY, 0);
414 errx(1, "%s: plist not a dictionary", fpath);
425 warnx("%s: No key %s", fpath, kKeyPlistVersion);
428 warnx("%s: %s is not a string", fpath, kKeyPlistVersion);
431 warnx("%s: %s not 1.0", fpath, kKeyPlistVersion);
437 warnx("%s: No key %s", fpath, kKeyExecPath);
440 warnx("%s: %s is not a string", fpath, kKeyExecPath);
444 warnx("%s: could not get exec path", fpath);
453 warnx("%s: No key %s", fpath, kKeyPrefOrder);
456 warnx("%s: %s is not an array", fpath, kKeyPrefOrder);
459 warnx("%s: no entries in %s", fpath, kKeyPrefOrder);
466 warnx("%s: entry %lu of %s is not a string", fpath, i, kKeyPrefOrder);