dovecot-1.2: Define PATH_MAX for Hurd.

dovecot at dovecot.org dovecot at dovecot.org
Wed Dec 16 20:50:59 EET 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/845e6da5194a
changeset: 9509:845e6da5194a
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Dec 16 13:50:53 2009 -0500
description:
Define PATH_MAX for Hurd.

diffstat:

1 file changed, 4 insertions(+)
src/lib/compat.h |    4 ++++

diffs (14 lines):

diff -r 9c99f15829fa -r 845e6da5194a src/lib/compat.h
--- a/src/lib/compat.h	Tue Dec 15 17:28:16 2009 -0500
+++ b/src/lib/compat.h	Wed Dec 16 13:50:53 2009 -0500
@@ -49,6 +49,10 @@ typedef unsigned long uint_fast32_t;
 
 #ifndef HAVE_SOCKLEN_T
 typedef int socklen_t;
+#endif
+
+#ifndef PATH_MAX
+#  define PATH_MAX 4096 /* for Hurd - Dovecot v2.0 removes the need for this */
 #endif
 
 #ifdef HAVE_SYS_SYSMACROS_H


More information about the dovecot-cvs mailing list