Searched refs:tmp_file (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/ |
H A D | reload_partial.sh | 27 tmp_file=$(mktemp) 29 grep "insert into caller_info" $info_file > $tmp_file 30 ${bin_dir}/fill_db_caller_info.pl "$PROJ" $tmp_file $db_file 32 grep "insert into return_states" $info_file > $tmp_file 33 ${bin_dir}/fill_db_sql.pl "$PROJ" $tmp_file $db_file 35 grep "into call_implies" $info_file > $tmp_file 36 ${bin_dir}/fill_db_sql.pl "$PROJ" $tmp_file $db_file 38 grep "into return_implies" $info_file > $tmp_file 39 ${bin_dir}/fill_db_sql.pl "$PROJ" $tmp_file $db_file 41 rm $tmp_file
|
/illumos-gate/usr/src/lib/libzonecfg/common/ |
H A D | getzoneent.c | 271 FILE *index_file, *tmp_file; in putzoneent() local 321 if ((tmp_file = fdopen(tmp_file_desc, "w")) == NULL) { in putzoneent() 360 (void) fputs(buf, tmp_file); in putzoneent() 367 (void) fputs(buf, tmp_file); in putzoneent() 453 (void) fprintf(tmp_file, "%s:%s:%s%s%s:%s\n", zone_name, in putzoneent() 461 if (fclose(tmp_file) != 0) { in putzoneent() 462 tmp_file = NULL; in putzoneent() 466 tmp_file = NULL; in putzoneent() 479 if (tmp_file != NULL) in putzoneent() 480 (void) fclose(tmp_file); in putzoneent()
|
/illumos-gate/usr/src/cmd/krb5/ldap_util/ |
H A D | kdb5_ldap_services.c | 1076 char *tmp_file = NULL; local 1104 tmp_file = (char *)malloc(strlen(file_name) + 4 + 1); 1105 if (tmp_file == NULL) { 1110 snprintf (tmp_file, strlen(file_name) + 4 + 1, "%s%s", file_name, ".tmp"); 1113 tmpfd = creat(tmp_file, S_IRUSR|S_IWUSR); 1131 unlink(tmp_file); 1140 link(tmp_file, file_name); 1144 unlink(tmp_file); 1150 if (tmp_file) 1151 free(tmp_file); [all …]
|
/illumos-gate/usr/src/lib/libsecdb/ |
H A D | svc-rbac | 60 tmp_file=$tmp_rbac/file 88 /usr/bin/rm -f $tmp_file 107 /usr/bin/grep -v '^#' $frag >> $tmp_file 112 echo $tmp_file $f | $irbac
|
/illumos-gate/usr/src/cmd/hal/addons/cpufreq/ |
H A D | addon-cpufreq.c | 138 power_conf_hal_type pc_hal_type, char *tmp_file) in edit_power_conf_file() argument 156 if (tmp_file == NULL) { in edit_power_conf_file() 160 sprintf (cp_cmd_str, "/usr/bin/cp %s %s", POWER_CONF_FILE, tmp_file); in edit_power_conf_file() 163 POWER_CONF_FILE, tmp_file, strerror (errno))); in edit_power_conf_file() 167 pfile = fopen (tmp_file, "r+"); in edit_power_conf_file() 170 tmp_file, strerror (errno))); in edit_power_conf_file() 248 tmp_file, strerror (errno))); in edit_power_conf_file()
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgtrans.c | 784 char tmp_entry[ENTRY_MAX], tmp_file[L_tmpnam+1]; in wdsheader() local 823 (void) tmpnam(tmp_file); /* temporary file name */ in wdsheader() 824 if ((list_fd = open(tmp_file, O_RDWR | O_CREAT, 0644)) == -1) { in wdsheader() 826 logerr(pkg_gt(MSG_NOTMPFIL), tmp_file); in wdsheader() 849 logerr(pkg_gt(MSG_NOTMPFIL), tmp_file); in wdsheader() 866 (void) unlink(tmp_file); in wdsheader() 872 (void) unlink(tmp_file); in wdsheader()
|