[BACK]Return to edit.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mail

Diff for /src/usr.bin/mail/edit.c between version 1.4 and 1.5

version 1.4, 1997/07/13 23:53:59 version 1.5, 1997/07/14 00:24:26
Line 193 
Line 193 
                 goto out;                  goto out;
         }          }
         nf = NULL;          nf = NULL;
         if ((edit = value(type == 'e' ? "EDITOR" : "VISUAL")) == NOSTR)          if ((edit = value(type == 'e' ? "EDITOR" : "VISUAL")) == NULL)
                 edit = type == 'e' ? _PATH_EX : _PATH_VI;                  edit = type == 'e' ? _PATH_EX : _PATH_VI;
         if (run_command(edit, 0, -1, -1, tempEdit, NOSTR, NOSTR) < 0) {          if (run_command(edit, 0, -1, -1, tempEdit, NULL, NULL) < 0) {
                 (void)unlink(tempEdit);                  (void)unlink(tempEdit);
                 goto out;                  goto out;
         }          }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5