9 date 92.12.15.00.20.22; author jromine; state Exp;
14 date 92.02.10.17.03.18; author jromine; state Exp;
28 @/* refile.c - refile the draft into another folder */
30 static char ident[] = "@@(#)$Id: refile.c,v 1.1 1992/02/10 17:03:18 jromine Exp jromine $";
36 int refile (arg, file)
45 vec[vecp++] = r1bindex (fileproc, '/');
46 vec[vecp++] = "-nolink"; /* override bad .mh_profile defaults */
47 vec[vecp++] = "-nopreserve";
48 vec[vecp++] = "-file";
57 (void) fflush (stdout);
59 switch (pid = vfork ()) {
61 advise ("fork", "unable to");
65 execvp (fileproc, vec);
66 fprintf (stderr, "unable to exec ");
71 return (pidwait (pid, NOTOK));
84 static char ident[] = "@@(#)$Id: m_getdefs.c,v 1.4 1992/02/03 17:50:47 jromine Exp $";