[PATCH] Fix tsocket on solaris
Stefan (metze) Metzmacher
metze at samba.org
Wed Apr 7 07:34:27 MDT 2010
> Solaris seems to error out (EINVAL) if sendto has a socklen parameter
> that isn't the same as the sizeof() for the relevant socket type.
> That is, we can't use sizeof(struct sockaddr_storage).
> This does not show up on the build farm, as we use socket_wrapper, which
> plays other games.
> Please find attached and review my proposed patch, which instead tries
> to keep the length alongside the struct sockaddr at all times.
The concept looks good, but the patch is incomplete.
I'll complete it and send it to you.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 260 bytes
Desc: OpenPGP digital signature
More information about the samba-technical