Home
last modified time | relevance | path

Searched refs:tempf (Results 1 – 1 of 1) sorted by relevance

/freebsd-12.1/contrib/unbound/validator/
H A Dautotrust.c1180 char tempf[2048]; in autr_write_file() local
1196 snprintf(tempf, sizeof(tempf), "%s.%d-%d-%llx", fname, (int)getpid(), in autr_write_file()
1199 snprintf(tempf, sizeof(tempf), "%s.%d-%d-%I64x", fname, (int)getpid(), in autr_write_file()
1203 verbose(VERB_ALGO, "autotrust: write to disk: %s", tempf); in autr_write_file()
1204 out = fopen(tempf, "w"); in autr_write_file()
1207 tempf, strerror(errno)); in autr_write_file()
1210 if(!autr_write_contents(out, tempf, tp)) { in autr_write_file()
1213 unlink(tempf); in autr_write_file()
1228 unlink(tempf); in autr_write_file()
1236 if(rename(tempf, fname) < 0) { in autr_write_file()
[all …]