Lines Matching refs:tmp_file
1829 static char tmp_file[PATH_MAX] = "";
1838 if (((len = snprintf(tmp_file, PATH_MAX, "%s/%sXXXXXX", tmpdir,
1845 if ((fd = mkstemp(tmp_file)) == -1) {
1846 pkgerr_add(err, PKGERR_WEB, gettext(MSG_NOTMPFIL), tmp_file);
1851 pkgerr_add(err, PKGERR_WEB, gettext(MSG_NOTMPFIL), tmp_file);
1856 pkgerr_add(err, PKGERR_WEB, gettext(MSG_NOTMPFIL), tmp_file);
1861 pkgerr_add(err, PKGERR_WEB, gettext(MSG_NOTMPFIL), tmp_file);
1867 gettext(ERR_KEYSTORE_FORM), tmp_file);
1873 gettext(ERR_KEYSTORE_FORM), tmp_file);
1882 ret = tmp_file;
1891 (void) unlink(tmp_file);
2149 char tmp_file[PATH_MAX];
2270 if (((len = snprintf(tmp_file, PATH_MAX,
2279 if ((fd = mkstemp(tmp_file)) == -1) {
2281 gettext(MSG_NOTMPFIL), tmp_file);
2296 ps->uniqfile = xstrdup(tmp_file);