Home
last modified time | relevance | path

Searched refs:editfile (Results 1 – 1 of 1) sorted by relevance

/system/core/sh/
Dhistedit.c232 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()
[all …]