Parent Directory | Revision Log | 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; |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |