Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8242:7038df7f5d34 HEAD
Don't expand ~/ in mail_location or namespace location.
lib-storage does that expansion in any case and this is kind of a kludgy
workaround to allow expire-tool to work by letting it expand the ~.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 05 Oct 2008 17:12:11 +0300 |
parents | 9bc8264d3d00 |
children | 9cabb706d3df |
files | src/master/mail-process.c |
diffstat | 1 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/master/mail-process.c Sun Oct 05 17:08:11 2008 +0300 +++ b/src/master/mail-process.c Sun Oct 05 17:12:11 2008 +0300 @@ -224,12 +224,6 @@ str_append_c(str, *env++); } - if (env[0] == '~' && - (env[1] == '/' || env[1] == '\0' || env[1] == ':')) { - /* expand home */ - env = t_strconcat("%h", env+1, NULL); - } - /* expand %vars */ var_expand(str, env, table); return str_c(str);