Lines Matching refs:tempEdit
850 if (stat(tempEdit, &sbuf) >= 0) { in mesedit()
851 printf(gettext("%s: file exists\n"), tempEdit); in mesedit()
854 if ((fd = open(tempEdit, O_RDWR|O_CREAT|O_EXCL, 0600)) < 0 || in mesedit()
856 perror(tempEdit); in mesedit()
866 perror(tempEdit); in mesedit()
867 removefile(tempEdit); in mesedit()
883 removefile(tempEdit); in mesedit()
891 execlp(edit, edit, tempEdit, (char *)0); in mesedit()
897 snprintf(ecmd, sizeof (ecmd), "exec %s %s", edit, tempEdit); in mesedit()
918 if ((fbuf = fopen(tempEdit, "r")) == NULL) { in mesedit()
919 perror(tempEdit); in mesedit()
920 removefile(tempEdit); in mesedit()
923 removefile(tempEdit); in mesedit()
1006 if ((fd = open(tempEdit, O_RDWR|O_CREAT|O_EXCL, 0600)) < 0 || in mespipe()
1008 perror(tempEdit); in mespipe()
1011 if ((ni = fopen(tempEdit, "r")) == NULL) { in mespipe()
1012 perror(tempEdit); in mespipe()
1014 removefile(tempEdit); in mespipe()
1017 removefile(tempEdit); in mespipe()