#ifdef LOCALE
setlocale(LC_ALL, "");
#endif
- invo_name = r1bindex(argv[0], '/');
+ invo_name = mhbasename(argv[0]);
/* read user profile/context */
context_read();
if (pipe(pd) == NOTOK)
adios("pipe", "unable to create");
- vec[0] = r1bindex(mhlproc, '/');
+ vec[0] = mhbasename(mhlproc);
for (i = 0; (child_id = fork()) == NOTOK && i < 5; i++)
sleep(5);