Minor fixes
* libmailutils/tests/modtofsaf.c (main): Trivial fix. * mail/mail.c: Support "address" capability. * mu/shell.c: Trivial fixes
Showing
3 changed files
with
4 additions
and
4 deletions
... | @@ -51,7 +51,6 @@ main (int argc, char **argv) | ... | @@ -51,7 +51,6 @@ main (int argc, char **argv) |
51 | const char *s = mu_file_safety_code_to_name (i); | 51 | const char *s = mu_file_safety_code_to_name (i); |
52 | printf ("%s\n", s ? s : "UNKNOWN"); | 52 | printf ("%s\n", s ? s : "UNKNOWN"); |
53 | } | 53 | } |
54 | crit &= ~i; | ||
55 | } | 54 | } |
56 | return 0; | 55 | return 0; |
57 | } | 56 | } | ... | ... |
... | @@ -231,6 +231,7 @@ static struct argp argp = { | ... | @@ -231,6 +231,7 @@ static struct argp argp = { |
231 | static const char *mail_capa[] = { | 231 | static const char *mail_capa[] = { |
232 | "mailutils", | 232 | "mailutils", |
233 | "common", | 233 | "common", |
234 | "address", | ||
234 | "debug", | 235 | "debug", |
235 | "mailbox", | 236 | "mailbox", |
236 | "locking", | 237 | "locking", | ... | ... |
... | @@ -297,11 +297,11 @@ get_history_file_name () | ... | @@ -297,11 +297,11 @@ get_history_file_name () |
297 | 297 | ||
298 | hname = mu_alloc (sizeof HISTFILE_PREFIX + strlen (rl_readline_name) + | 298 | hname = mu_alloc (sizeof HISTFILE_PREFIX + strlen (rl_readline_name) + |
299 | sizeof HISTFILE_SUFFIX - 1); | 299 | sizeof HISTFILE_SUFFIX - 1); |
300 | strcpy (hname, "~/.mu_"); | 300 | strcpy (hname, HISTFILE_PREFIX); |
301 | strcat (hname, rl_readline_name); | 301 | strcat (hname, rl_readline_name); |
302 | strcat (hname, HISTFILE_SUFFIX); | 302 | strcat (hname, HISTFILE_SUFFIX); |
303 | filename = mu_tilde_expansion (hname, MU_HIERARCHY_DELIMITER, NULL); | 303 | filename = mu_tilde_expansion (hname, MU_HIERARCHY_DELIMITER, NULL); |
304 | free(hname); | 304 | free (hname); |
305 | } | 305 | } |
306 | return filename; | 306 | return filename; |
307 | } | 307 | } |
... | @@ -348,7 +348,7 @@ mutool_initialize_readline (const char *name) | ... | @@ -348,7 +348,7 @@ mutool_initialize_readline (const char *name) |
348 | static void | 348 | static void |
349 | finish_readline () | 349 | finish_readline () |
350 | { | 350 | { |
351 | write_history (get_history_file_name()); | 351 | write_history (get_history_file_name ()); |
352 | } | 352 | } |
353 | 353 | ||
354 | /* Attempt to complete on the contents of TEXT. START and END bound the | 354 | /* Attempt to complete on the contents of TEXT. START and END bound the | ... | ... |
-
Please register or sign in to post a comment