/[mailutils]/mailutils/mail/edit.c
ViewVC logotype

Diff of /mailutils/mail/edit.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by gray, Tue Jun 26 14:07:11 2001 UTC revision 1.7 by gray, Sun Sep 1 22:05:48 2002 UTC
# Line 28  mail_edit (int argc, char **argv) Line 28  mail_edit (int argc, char **argv)
28      return util_msglist_command (mail_edit, argc, argv, 1);      return util_msglist_command (mail_edit, argc, argv, 1);
29    else    else
30      {      {
31        char *file = tempnam(getenv("TMPDIR"), "mu");        char *file = mu_tempname (NULL);
32        util_do_command ("copy %s", file);        util_do_command ("copy %s", file);
33        util_do_command ("shell %s %s", getenv("EDITOR"), file);        util_do_command ("shell %s %s", getenv ("EDITOR"), file);
34        remove (file);        remove (file);
35        free (file);        free (file);
36        return 0;        return 0;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26