Renamed r1bindex() to mhbasename(), to make its function becomes clear.
[mmh] / uip / mhbuild.c
index e1ca05f..735a77e 100644 (file)
@@ -130,7 +130,7 @@ main(int argc, char **argv)
 #ifdef LOCALE
        setlocale(LC_ALL, "");
 #endif
-       invo_name = r1bindex(argv[0], '/');
+       invo_name = mhbasename(argv[0]);
 
        /* read user profile/context */
        context_read();