Searched refs:tmpname (Results 1 – 1 of 1) sorted by relevance
738 char dirname[PATH_MAX+1], tmpname[PATH_MAX+1], newname[PATH_MAX+1]; in conf_write() local766 sprintf(tmpname, "%s.tmpconfig.%d", newname, (int)getpid()); in conf_write()767 out = fopen(tmpname, "w"); in conf_write()769 *tmpname = 0; in conf_write()816 if (*tmpname) { in conf_write()820 if (rename(tmpname, newname)) in conf_write()