Searched refs:tmpname (Results 1 – 1 of 1) sorted by relevance
398 char dirname[128], tmpname[128], newname[128]; in conf_write() local430 sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); in conf_write()431 out = fopen(tmpname, "w"); in conf_write()433 *tmpname = 0; in conf_write()539 if (*tmpname) { in conf_write()543 if (rename(tmpname, newname)) in conf_write()