Lines Matching defs:tmp_file
1832 static char tmp_file[PATH_MAX] = "";
1841 if (((len = snprintf(tmp_file, PATH_MAX, "%s/%sXXXXXX", tmpdir,
1848 if ((fd = mkstemp(tmp_file)) == -1) {
1849 pkgerr_add(err, PKGERR_WEB, gettext(MSG_NOTMPFIL), tmp_file);
1854 pkgerr_add(err, PKGERR_WEB, gettext(MSG_NOTMPFIL), tmp_file);
1859 pkgerr_add(err, PKGERR_WEB, gettext(MSG_NOTMPFIL), tmp_file);
1864 pkgerr_add(err, PKGERR_WEB, gettext(MSG_NOTMPFIL), tmp_file);
1870 gettext(ERR_KEYSTORE_FORM), tmp_file);
1876 gettext(ERR_KEYSTORE_FORM), tmp_file);
1885 ret = tmp_file;
1894 (void) unlink(tmp_file);
2152 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);