diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-08-22 11:18:32 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-08-22 11:18:32 +0300 |
commit | 37388665c74c05f8ff12a77f0acc43e589a9b022 (patch) | |
tree | ad9a4611ef1f712c5aedeed76e60cfe7ac792fe4 /mu | |
parent | 843ed59e7385022df2ac3f32d8e15ee6d9f52e6d (diff) | |
download | mailutils-37388665c74c05f8ff12a77f0acc43e589a9b022.tar.gz mailutils-37388665c74c05f8ff12a77f0acc43e589a9b022.tar.bz2 |
Minor fixes
* libmailutils/tests/modtofsaf.c (main): Trivial fix.
* mail/mail.c: Support "address" capability.
* mu/shell.c: Trivial fixes
Diffstat (limited to 'mu')
-rw-r--r-- | mu/shell.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mu/shell.c b/mu/shell.c index e070890c0..30966d9ef 100644 --- a/mu/shell.c +++ b/mu/shell.c @@ -297,11 +297,11 @@ get_history_file_name () hname = mu_alloc (sizeof HISTFILE_PREFIX + strlen (rl_readline_name) + sizeof HISTFILE_SUFFIX - 1); - strcpy (hname, "~/.mu_"); + strcpy (hname, HISTFILE_PREFIX); strcat (hname, rl_readline_name); strcat (hname, HISTFILE_SUFFIX); filename = mu_tilde_expansion (hname, MU_HIERARCHY_DELIMITER, NULL); - free(hname); + free (hname); } return filename; } @@ -348,7 +348,7 @@ mutool_initialize_readline (const char *name) static void finish_readline () { - write_history (get_history_file_name()); + write_history (get_history_file_name ()); } /* Attempt to complete on the contents of TEXT. START and END bound the |