Re: [exim] [exim-dev] Exim 4.82 RC1 uploaded

Page principale
Supprimer ce message
Répondre à ce message
Auteur: list2
Date:  
À: exim-users
Sujet: Re: [exim] [exim-dev] Exim 4.82 RC1 uploaded
It won't build on OSX.

cc acl.c
acl.c:2904:23: error: use of undeclared identifier 'MSG_NOSIGNAL'
r = send(s, arg, len, MSG_NOSIGNAL);
                       ^
1 error generated.
make[1]: *** [acl.o] Error 1
make: *** [all] Error 2
dnsbureau:exim-4.82_RC1 root#



What is the side effect of not using MSG_NOSIGNAL? I could just >
#define it to 0, but I don't know if this would cause any problems.

I think OS X OS X requires SO_NOSIGPIPE instead. This one builds too,
but I don't know if I'm messing things up.

#ifndef MSG_NOSIGNAL
#define MSG_NOSIGNAL SO_NOSIGPIPE
#endif

Thanks,

George