#ifdef LOCALE
setlocale(LC_ALL, "");
#endif
- invo_name = r1bindex(argv[0], '/');
+ invo_name = mhbasename(argv[0]);
/* read user profile/context */
context_read();
files[filep] = NULL; /* NULL terminate list */
fflush(stdout);
- vec[0] = r1bindex(rmmproc, '/');
+ vec[0] = mhbasename(rmmproc);
execvp(rmmproc, vec);
adios(rmmproc, "unable to exec");
}