# HG changeset patch # User Timo Sirainen # Date 1348834290 -10800 # Node ID 2a44991cbf6687812e3f6dd0a2c303eee43c867f # Parent 75aadea5c2a2efbcc9c3a46380677eea05e33122 Avoid using PATH_MAX. diff -r 75aadea5c2a2 -r 2a44991cbf66 src/lib-storage/index/dbox-common/dbox-storage.c --- a/src/lib-storage/index/dbox-common/dbox-storage.c Fri Sep 28 15:07:11 2012 +0300 +++ b/src/lib-storage/index/dbox-common/dbox-storage.c Fri Sep 28 15:11:30 2012 +0300 @@ -1,6 +1,7 @@ /* Copyright (c) 2007-2012 Dovecot authors, see the included COPYING file */ #include "lib.h" +#include "abspath.h" #include "ioloop.h" #include "fs-api.h" #include "mkdir-parents.h" @@ -32,7 +33,6 @@ const char *alt_path, const char *alt_symlink_path) { const char *linkpath; - ssize_t ret; if (t_readlink(alt_symlink_path, &linkpath) < 0) { if (errno == ENOENT)