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

Diff of /mailutils/mail/visual.c

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

revision 1.6 by alainm, Tue Sep 4 01:25:06 2001 UTC revision 1.7 by gray, Sun Sep 1 22:05:48 2002 UTC
# Line 30  mail_visual (int argc, char **argv) Line 30  mail_visual (int argc, char **argv)
30      {      {
31        message_t msg = NULL;        message_t msg = NULL;
32        attribute_t attr = NULL;        attribute_t attr = NULL;
33        char *file = tempnam(getenv("TMPDIR"), "mu");        char *file = mu_tempname (NULL);
34    
35        util_do_command ("copy %s", file); /* NOTE: copy does not set flags */        util_do_command ("copy %s", file);
36        util_do_command ("shell %s %s", getenv("VISUAL"), file);        util_do_command ("shell %s %s", getenv("VISUAL"), file);
37    
38        remove (file);        remove (file);

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