Searched refs:tmp_file_name (Results 1 – 1 of 1) sorted by relevance
272 char *tmp_file_name, buf[MAX_INDEX_LEN]; in putzoneent() local304 tmp_file_name = malloc(tlen); in putzoneent()305 if (tmp_file_name == NULL) { in putzoneent()309 (void) snprintf(tmp_file_name, tlen, "%s%s", zonecfg_root, in putzoneent()312 tmp_file_desc = mkstemp(tmp_file_name); in putzoneent()314 (void) unlink(tmp_file_name); in putzoneent()315 free(tmp_file_name); in putzoneent()467 if (rename(tmp_file_name, path) == -1) { in putzoneent()471 free(tmp_file_name); in putzoneent()481 (void) unlink(tmp_file_name); in putzoneent()[all …]