[Dovecot] Build fix on HURD

Timo Sirainen tss at iki.fi
Wed Dec 16 21:05:39 EET 2009


On Wed, 2009-12-16 at 18:46 +0100, Marco Nenciarini wrote:

> +#ifndef PATH_MAX
> +#  define PATH_MAX 1024
> +#endif

I changed v2.0 code not to rely on PATH_MAX anywhere anymore. For v1.2 I
added a similar check to make PATH_MAX to 4096.

> diff --git a/src/lib/ioloop-notify-dn.c b/src/lib/ioloop-notify-dn.c
> --- a/src/lib/ioloop-notify-dn.c
> +++ b/src/lib/ioloop-notify-dn.c
> @@ -191,9 +191,15 @@
>                 /* SIGIO is sent if queue gets full. we'll just ignore
> it. */
>                 signal(SIGIO, SIG_IGN);
>  
> +#ifdef SA_SIGINFO
>                 act.sa_sigaction = sigrt_handler;
>                 sigemptyset(&act.sa_mask);
>                 act.sa_flags = SA_SIGINFO | SA_RESTART | SA_NODEFER;
> +#else
> +               act.sa_handler = sigrt_handler;
> +               sigemptyset(&act.sa_mask);
> +               act.sa_flags = SA_RESTART | SA_NODEFER;
> +#endif

Does Hurd really support dnotify?

Other than that, I did a couple of changes to your lib-signals patch and
committed to v1.2 and v2.0.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20091216/38552480/attachment.bin 


More information about the dovecot mailing list