[PATCH] sysdeps-unix: use MSG_NOSIGNAL when sending creds

Will Thompson will.thompson at collabora.co.uk
Thu Dec 16 03:26:07 PST 2010


On 09/12/10 18:41, Scott James Remnant wrote:
> Since SIGPIPE is no longer touched by default when MSG_NOSIGNAL is
> available, it's extra-critical that all socket writes actually pass
> that flag.

This patch got a bit mangled in the mail. I gave up trying to tweak it 
into something Git would understand and applied the same change 
manually, attributed to you: 
<http://cgit.freedesktop.org/dbus/dbus/commit/?id=c5d0998>.

Is it kosher to assume that MSG_NOSIGNAL is a #define (as is done 
throughout the existing code in sysdeps-unix) rather than using 
HAVE_DECL_MSG_NOSIGNAL (as is done in connection)? I guess it could 
theoretically be an enum member?

Cheers,
-- 
Will


More information about the dbus mailing list