Bug#825397: proposed patch

2016-05-28 Thread Reiner Herrmann
Hi Dmitry, On Sat, May 28, 2016 at 02:17:50PM +0300, Dmitry Bogatov wrote: > I wrote simple patch, that solves issue. Please, consider including. thanks for providing a patch! I will provide a new package in the next days with your patch applied. Regards, Reiner signature.asc Description:

Bug#825397: proposed patch

2016-05-28 Thread Dmitry Bogatov
Hello! I wrote simple patch, that solves issue. Please, consider including. --- a/surf.c +++ b/surf.c @@ -285,29 +285,56 @@ buildfile(const char *path) return fpath; } +static const char* +get_user_homedir(const char *user) { + struct passwd *pw = getpwnam(user); + if