#ifdef LOCALE
setlocale(LC_ALL, "");
#endif
- invo_name = r1bindex(argv[0], '/');
+ invo_name = mhbasename(argv[0]);
/* read user profile/context */
context_read();
}
}
- if (!context_find("path"))
- free(path("./", TFOLDER));
-
if (!msgp)
msgs[msgp++] = "cur";
maildir = m_maildir(draftfolder);
push();
status = 0;
- vec[0] = r1bindex(postproc, '/');
+ vec[0] = mhbasename(postproc);
closefds(3);
for (msgnum = 0; msgnum < msgp; msgnum++) {