[PATCH] Unix datagram socket messaging

Michael Adam obnox at samba.org
Sat Apr 19 03:37:22 MDT 2014


On 2014-04-19 at 08:33 +0200, Volker Lendecke wrote:
> On Fri, Apr 18, 2014 at 03:34:14PM -0700, Jeremy Allison wrote:
> > > I think we should cast with (struct sockaddr *)(void *)&addr, in order
> > > to avoid
> > > strict aliasing warnings on some systems.
> > 
> > Done.
> 
> Simo thinks this is not required.

Does he? ... :-)
But it does not harm either, does it?
And we also have this pattern in several
places in the code already. So we can
leave it like this for now, imho.

Cheers - Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140419/5b39a029/attachment.pgp>


More information about the samba-technical mailing list