Home
last modified time | relevance | path

Searched refs:tmp_file (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/
H A Dreload_partial.sh27 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 Dgetzoneent.c271 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/lib/libsecdb/
H A Dsvc-rbac60 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/krb5/ldap_util/
H A Dkdb5_ldap_services.c1131 unlink(tmp_file);
1144 unlink(tmp_file);
1150 if (tmp_file)
1151 free(tmp_file);
1860 unlink(tmp_file);
1875 unlink(tmp_file);
1878 unlink(tmp_file);
1903 if (tmp_file)
1904 free(tmp_file);
2203 if (tmp_file)
[all …]
/illumos-gate/usr/src/cmd/hal/addons/cpufreq/
H A Daddon-cpufreq.c138 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 Dpkgtrans.c784 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()