#ifdef LOCALE
setlocale(LC_ALL, "");
#endif
- invo_name = r1bindex(argv[0], '/');
+ invo_name = mhbasename(argv[0]);
/* foil search of user profile/context */
if (context_foil(NULL) == -1)
adios("failed", "fstat of %s", tmpfil);
status = 0;
- vec[0] = r1bindex(postproc, '/');
+ vec[0] = mhbasename(postproc);
if (verbsw)
vec[vecp++] = "-verbose";
- switch (sendsbr(vec, vecp, tmpfil, &st, 0, (char *)0, 0)) {
+ switch (sendsbr(vec, vecp, tmpfil, &st, 0, NULL, 0)) {
case DONE:
case NOTOK:
status++;