projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
The existence of the profile entry Path is already enforced by context_read().
[mmh]
/
uip
/
dist.c
diff --git
a/uip/dist.c
b/uip/dist.c
index
89315c2
..
d31c5c9
100644
(file)
--- a/
uip/dist.c
+++ b/
uip/dist.c
@@
-53,7
+53,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();
@@
-138,8
+138,6
@@
main(int argc, char **argv)
cwd = getcpy(pwd());
cwd = getcpy(pwd());
- if (!context_find("path"))
- free(path("./", TFOLDER));
if (file && (msg || folder))
adios(NULL, "can't mix files and folders/msgs");
if (file && (msg || folder))
adios(NULL, "can't mix files and folders/msgs");
@@
-166,7
+164,7
@@
main(int argc, char **argv)
if (!msg)
msg = "cur";
if (!folder)
if (!msg)
msg = "cur";
if (!folder)
- folder = getfolder(1);
+ folder = getfolder(FCUR);
maildir = m_maildir(folder);
if (chdir(maildir) == NOTOK)
maildir = m_maildir(folder);
if (chdir(maildir) == NOTOK)