Displaying 1 result from an estimated 1 matches for "home_expand_tilde".
2009 Aug 13
1
Tilde expansion in ManageSieve for dovecot-1.1.
...onst char *root_dir, *dir, *p, *d;
---
> const char *root_dir, *dir, *p, *d, *home;
127a128,133
> /* expand tilde in root so that the stat below works */
> home = getenv("HOME");
> if (home != NULL && *home != '\0') {
> root_dir = home_expand_tilde( root_dir, home );
> }
>
I'm not sure if this was the best way to fix this (or if this is even
a bug, I might just have a crazy setup).
Thanks,
-Steve