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
/
mhmail.c
diff --git
a/uip/mhmail.c
b/uip/mhmail.c
index
c7a7afa
..
037246d
100644
(file)
--- a/
uip/mhmail.c
+++ b/
uip/mhmail.c
@@
-54,7
+54,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]);
/* foil search of user profile/context */
if (context_foil(NULL) == -1)
/* foil search of user profile/context */
if (context_foil(NULL) == -1)
@@
-62,7
+62,7
@@
main(int argc, char **argv)
/* If no arguments, just incorporate new mail */
if (argc == 1) {
/* If no arguments, just incorporate new mail */
if (argc == 1) {
- execlp(incproc, r1bindex(incproc, '/'), NULL);
+ execlp(incproc, mhbasename(incproc), NULL);
adios(incproc, "unable to exec");
}
adios(incproc, "unable to exec");
}
@@
-160,7
+160,7
@@
main(int argc, char **argv)
fclose(out);
nvec = 0;
fclose(out);
nvec = 0;
- vec[nvec++] = r1bindex(postproc, '/');
+ vec[nvec++] = mhbasename(postproc);
vec[nvec++] = tmpfil;
if (resent)
vec[nvec++] = "-dist";
vec[nvec++] = tmpfil;
if (resent)
vec[nvec++] = "-dist";