diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-12-17 01:25:53 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2011-12-17 01:32:40 +0200 |
commit | 7f325d5c04a280e0711a09fef9eab86e128ace86 (patch) | |
tree | 75912d5803e788de9d4b22fa719c6b68c8ebf6f7 /mu | |
parent | 5c16cf454ffc05a340cbf8136c36e4cc1ed72904 (diff) | |
download | mailutils-7f325d5c04a280e0711a09fef9eab86e128ace86.tar.gz mailutils-7f325d5c04a280e0711a09fef9eab86e128ace86.tar.bz2 |
Fix the use of the hierarchy delimiter.
* include/mailutils/util.h (MU_HIERARCHY_DELIMITER): New define.
(mu_tilde_expansion): Change signature. Delimiter is an int.
* libmailutils/base/tilde.c: Likewise. All uses update.
* imap4d/namespace.c (namespace_checkfullpath)
(namespace_getfullpath): Remove delim argument. All uses updated.
* imap4d/util.c (util_getfullpath): Remove delim argument. All uses updated.
Diffstat (limited to 'mu')
-rw-r--r-- | mu/shell.c | 2 | ||||
-rw-r--r-- | mu/wicket.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mu/shell.c b/mu/shell.c index 891b08bff..78ac94c99 100644 --- a/mu/shell.c +++ b/mu/shell.c @@ -296,7 +296,7 @@ get_history_file_name () strcpy (hname, "~/.mu_"); strcat (hname, rl_readline_name); strcat (hname, HISTFILE_SUFFIX); - filename = mu_tilde_expansion (hname, "/", NULL); + filename = mu_tilde_expansion (hname, MU_HIERARCHY_DELIMITER, NULL); free(hname); } return filename; diff --git a/mu/wicket.c b/mu/wicket.c index f01b1483a..81a3f3ec5 100644 --- a/mu/wicket.c +++ b/mu/wicket.c @@ -141,7 +141,7 @@ mutool_wicket (int argc, char **argv) return 1; } - wicket_file = mu_tilde_expansion (wicket_file, "/", NULL); + wicket_file = mu_tilde_expansion (wicket_file, MU_HIERARCHY_DELIMITER, NULL); if (!wicket_file) { mu_diag_funcall (MU_DIAG_ERROR, "mu_tilde_expansion", wicket_file, |