projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
We have `NULL' in order to not need to write `(char *)0' anymore.
[mmh]
/
uip
/
conflict.c
diff --git
a/uip/conflict.c
b/uip/conflict.c
index
909bbc8
..
5710aab
100644
(file)
--- a/
uip/conflict.c
+++ b/
uip/conflict.c
@@
-68,7
+68,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)
@@
-360,7
+360,7
@@
setup(void)
dup2(fd, 1);
close(fd);
}
dup2(fd, 1);
close(fd);
}
- execlp(mailproc, r1bindex (mailproc, '/'),
+ execlp(mailproc, mhbasename(mailproc),
mail, "-subject", invo_name,
NULL);
adios(mailproc, "unable to exec ");
mail, "-subject", invo_name,
NULL);
adios(mailproc, "unable to exec ");