Lines Matching refs:tmpfname
9449 char *tmpfname; in sl_preview_synonyms() local
9464 tmpfname = e_zalloc(E_EXIT, strlen(tmpdir) + strlen(suffix) + 1); in sl_preview_synonyms()
9466 (void) strcpy(tmpfname, tmpdir); in sl_preview_synonyms()
9467 (void) strcat(tmpfname, suffix); in sl_preview_synonyms()
9469 if ((tmpfd = mkstemp(tmpfname)) == -1) { in sl_preview_synonyms()
9473 if (unlink(tmpfname) == -1) { in sl_preview_synonyms()
9474 msg(EXTN, "cannot unlink tmpfile %s", tmpfname); in sl_preview_synonyms()
9478 msg(EXTN, "cannot fdopen tmpfile %s", tmpfname); in sl_preview_synonyms()
9486 msg(EXTN, "problem writing to tmpfile %s", tmpfname); in sl_preview_synonyms()
9532 msg(EXTN, "cannot fseek on tmpfile %s", tmpfname); in sl_preview_synonyms()
9536 free(tmpfname); in sl_preview_synonyms()