summaryrefslogtreecommitdiff
path: root/mu
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2011-12-17 01:25:53 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2011-12-17 01:32:40 +0200
commit7f325d5c04a280e0711a09fef9eab86e128ace86 (patch)
tree75912d5803e788de9d4b22fa719c6b68c8ebf6f7 /mu
parent5c16cf454ffc05a340cbf8136c36e4cc1ed72904 (diff)
downloadmailutils-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.c2
-rw-r--r--mu/wicket.c2
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,

Return to:

Send suggestions and report system problems to the System administrator.