Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/unbound/dnstap/
H A Ddnstap_fstrm.c213 char tempf[512]; in fstrm_describe_control() local
215 if(field_len < sizeof(tempf)-1) { in fstrm_describe_control()
216 memmove(tempf, pos+8, field_len); in fstrm_describe_control()
217 tempf[field_len] = 0; in fstrm_describe_control()
218 (void)sldns_str_print(&str, &slen, "%s", tempf); in fstrm_describe_control()
/freebsd-13.1/contrib/unbound/validator/
H A Dautotrust.c1191 char tempf[2048]; in autr_write_file() local
1207 snprintf(tempf, sizeof(tempf), "%s.%d-%d-%llx", fname, (int)getpid(), in autr_write_file()
1210 snprintf(tempf, sizeof(tempf), "%s.%d-%d-%I64x", fname, (int)getpid(), in autr_write_file()
1214 verbose(VERB_ALGO, "autotrust: write to disk: %s", tempf); in autr_write_file()
1215 out = fopen(tempf, "w"); in autr_write_file()
1218 tempf, strerror(errno)); in autr_write_file()
1221 if(!autr_write_contents(out, tempf, tp)) { in autr_write_file()
1224 unlink(tempf); in autr_write_file()
1239 unlink(tempf); in autr_write_file()
1247 if(rename(tempf, fname) < 0) { in autr_write_file()
[all …]