Lines Matching defs:fromfile
973 char fromfile[1024];
981 snprintf (fromfile, sizeof (fromfile), "%s/parent-%s", dir, domain);
982 if ( !fileexist (fromfile) ) /* use "normal" keyset-file */
983 snprintf (fromfile, sizeof (fromfile), "%s/keyset-%s", dir, domain);
985 /* verbmesg (2, conf, "\t check \"%s\" against parent dir\n", fromfile); */
987 if ( cmpfile (fromfile, tofile) != 0 )
989 verbmesg (2, conf, "\t copy \"%s\" to parent dir\n", fromfile);
990 if ( (ret = copyfile (fromfile, tofile, NULL)) != 0 )
993 fromfile, ret, strerror(errno));
995 domain, fromfile, ret, strerror(errno));