Lines Matching refs:editfile
232 char editfile[MAXPATHLEN + 1]; in histcmd() local
290 editfile[0] = '\0'; in histcmd()
297 if (*editfile) in histcmd()
298 unlink(editfile); in histcmd()
377 snprintf(editfile, sizeof(editfile), "%s_shXXXXXX", _PATH_TMP); in histcmd()
378 if ((fd = mkstemp(editfile)) < 0) in histcmd()
379 error("can't create temporary file %s", editfile); in histcmd()
432 editcmd = stalloc(strlen(editor) + strlen(editfile) + 2); in histcmd()
433 sprintf(editcmd, "%s %s", editor, editfile); in histcmd()
436 readcmdfile(editfile); /* XXX - should read back - quick tst */ in histcmd()
437 unlink(editfile); in histcmd()