dovecot-2.2: Avoid using PATH_MAX.

dovecot at dovecot.org dovecot at dovecot.org
Mon Oct 29 17:55:53 EET 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/2a44991cbf66
changeset: 15285:2a44991cbf66
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Sep 28 15:11:30 2012 +0300
description:
Avoid using PATH_MAX.

diffstat:

 src/lib-storage/index/dbox-common/dbox-storage.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (19 lines):

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)


More information about the dovecot-cvs mailing list