Searched refs:tmp_fname (Results 1 – 7 of 7) sorted by relevance
194 tmp_fname=$1196 while test -L $tmp_fname; do197 tmp_new_fname=`ls -al $tmp_fname | sed -n 's%.*-> \(.*\)%\1%p'`205 /*) tmp_fname="$tmp_new_fname"207 *) tmp_fname="`echo $tmp_fname | sed 's%/[^/]*$%%'`/$tmp_new_fname"211 echo "$tmp_fname"219 tmp_fname=`df $1/ | sed -n 's%.*\(/dev/[^ ]*\).*%\1%p'`221 if test -z "$tmp_fname"; then226 tmp_fname=`resolve_symlink $tmp_fname`228 echo "$tmp_fname"
77 unlink (result->tmp_fname); in prepare_binary_output()152 result->fname = stpcpy (mempcpy (result->tmp_fname, fname, fname_len),157 result->fd = mkstemp (result->tmp_fname);
52 (void) unlink (ctx->tmp_fname);
182 char tmp_fname[flexarr_size]; member
519 if (rename (ctx->tmp_fname, ctx->fname) != 0)
417 char *tmp_fname; in hapd_wps_cred_cb() local481 tmp_fname = os_malloc(len); in hapd_wps_cred_cb()482 if (tmp_fname == NULL) in hapd_wps_cred_cb()484 os_snprintf(tmp_fname, len, "%s-new", hapd->iface->config_fname); in hapd_wps_cred_cb()490 os_free(tmp_fname); in hapd_wps_cred_cb()494 nconf = fopen(tmp_fname, "w"); in hapd_wps_cred_cb()498 os_free(tmp_fname); in hapd_wps_cred_cb()626 if (rename(tmp_fname, hapd->iface->config_fname) < 0) { in hapd_wps_cred_cb()629 os_free(tmp_fname); in hapd_wps_cred_cb()633 os_free(tmp_fname); in hapd_wps_cred_cb()