Lines Matching refs:dirname
680 char dirname[PATH_MAX+1], tmpname[PATH_MAX+1], newname[PATH_MAX+1]; in conf_write() local
683 dirname[0] = 0; in conf_write()
689 strcpy(dirname, name); in conf_write()
690 strcat(dirname, "/"); in conf_write()
694 memcpy(dirname, name, size); in conf_write()
695 dirname[size] = 0; in conf_write()
705 sprintf(newname, "%s%s", dirname, basename); in conf_write()
708 sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); in conf_write()
759 strcat(dirname, basename); in conf_write()
760 strcat(dirname, ".old"); in conf_write()
761 rename(newname, dirname); in conf_write()