projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cosmetic change
[mmh]
/
uip
/
new.c
diff --git
a/uip/new.c
b/uip/new.c
index
9236662
..
c1ae0cc
100644
(file)
--- a/
uip/new.c
+++ b/
uip/new.c
@@
-436,7
+436,7
@@
main(int argc, char **argv)
#ifdef LOCALE
setlocale(LC_ALL, "");
#endif
#ifdef LOCALE
setlocale(LC_ALL, "");
#endif
- invo_name = r1bindex(argv[0], '/');
+ invo_name = mhbasename(argv[0]);
/* read user profile/context */
context_read();
/* read user profile/context */
context_read();
@@
-475,7
+475,7
@@
main(int argc, char **argv)
if (!(invo_name = *argp++) || *invo_name == '-')
adios(NULL, "missing argument to %s",
argp[-2]);
if (!(invo_name = *argp++) || *invo_name == '-')
adios(NULL, "missing argument to %s",
argp[-2]);
- invo_name = r1bindex(invo_name, '/');
+ invo_name = mhbasename(invo_name);
continue;
}
}
continue;
}
}