Lines Matching refs:path
310 *p = '\0'; /* remove trailing path seperator */
432 char path[MAX_PATHSIZE+1];
450 pathname (path, sizeof (path), dir, dentp->d_name, NULL);
451 if ( !is_directory (path) )
454 dbg_val ("parsedir: recursive %s\n", path);
455 parsedir (path, zp, conf);
463 char path[MAX_PATHSIZE+1];
475 pathname (path, sizeof (path), zp->dir, zp->sfile, NULL);
476 dbg_val("parsezonedir fileexist (%s)\n", path);
477 if ( !fileexist (path) )
483 zfilesig_time = file_mtime (path);
485 pathname (path, sizeof (path), zp->dir, zp->file, NULL);
486 dbg_val("parsezonedir fileexist (%s)\n", path);
487 if ( !fileexist (path) )
489 error ("No zone file found (%s)!\n", path);
490 lg_mesg (LG_ERROR, "\"%s\": no zone file found (%s)!", zp->zone, path);
494 zfile_time = file_mtime (path);
524 pathname (path, sizeof (path), zp->dir, zp->conf->keyfile, NULL);
525 dbg_val("parsezonedir check_keydb_timestamp (%s)\n", path);
527 newkey = check_keydb_timestamp (zp->keys, file_mtime (path));
556 else if ( file_mtime (path) > zfilesig_time )
576 file_mtime (path) > zfilesig_time ||
592 pathname (path, sizeof (path), zp->dir, zp->conf->keyfile, NULL);
593 verbmesg (1, zp->conf, "\tWriting key file \"%s\"\n", path);
594 if ( !writekeyfile (path, zp->keys, zp->conf->key_ttl) )
596 error ("Can't create keyfile %s \n", path);
597 lg_mesg (LG_ERROR, "\"%s\": can't create keyfile %s", zp->zone , path);
609 pathname (path, sizeof (path), zp->dir, zp->file, NULL);
613 if ( (err = inc_serial (path, use_unixtime)) < 0 )
616 zp->zone, path, inc_errstr (err));
619 zp->zone, path, inc_errstr (err));
622 verbmesg (1, zp->conf, "\tIncrementing serial number in file \"%s\"\n", path);
625 verbmesg (1, zp->conf, "\tIncrementing serial number in file \"%s\"\n", path);
645 pathname (path, sizeof (path), zp->dir, zp->sfile, NULL);
646 if ( filesize (path) == 0L ) /* initial signing request ? */
649 copyfile (zfile, path, zp->conf->keyfile);
655 copyfile (zfile, path, NULL);
659 path, zfile);
663 copyzonefile (path, zfile, zp->conf->keyfile);
670 copyfile (path, zfile, NULL);
752 char path[MAX_PATHSIZE+1];
765 pathname (path, sizeof (path), dir, dentp->d_name, NULL);
766 dbg_val2 ("newkeysetfile timestamp of %s = %s\n", path, time2str (file_mtime(path), 's'));
767 if ( file_mtime (path) > zone_signing_time )