Lines Matching defs:path
143 install_pkg_static(const char *path, const char *pkgpath, bool force)
153 execl(path, "pkg-static", "add", "-f", pkgpath,
156 execl(path, "pkg-static", "add", pkgpath,
175 fetch_to_fd(const char *url, char *path)
199 if ((fd = mkstemp(path)) == -1) {
263 unlink(path);
334 char path[MAXPATHLEN];
338 snprintf(path, MAXPATHLEN, "%s/%s", dir, filename);
341 if (!ucl_parser_add_file(p, path)) {
342 warnx("%s: %s", path, ucl_parser_get_error(p));
362 load_fingerprints(const char *path, int *count)
376 if ((d = opendir(path)) == NULL) {
386 finger = load_fingerprint(path, ent->d_name);
737 char path[MAXPATHLEN];
750 snprintf(path, MAXPATHLEN, "%s/trusted", fingerprints);
751 if ((trusted = load_fingerprints(path, &trusted_count)) == NULL) {
761 snprintf(path, MAXPATHLEN, "%s/revoked", fingerprints);
762 if ((revoked = load_fingerprints(path, &revoked_count)) == NULL) {
966 char path[MAXPATHLEN];
986 snprintf(path, sizeof(path), "%s.sig", pkgpath);
988 if ((fd_sig = open(path, O_RDONLY)) == -1) {
999 snprintf(path, sizeof(path), "%s.pubkeysig", pkgpath);
1001 if ((fd_sig = open(path, O_RDONLY)) == -1) {