[patch] Correct configure test for sin_len to compile on Tru64 Unix

Wayne Davison wayned at samba.org
Thu Feb 26 03:32:52 GMT 2004


On Wed, Feb 25, 2004 at 01:44:58PM +0100, Petter Reinholdtsen wrote:
> The problem is that the code in configure check for sockaddr.sa_len,
> while the code uses sockaddr.sin_len.

The problem is deeper than that.  The HAVE_SOCKADDR_LEN define surrounds
both code that uses sin_len and sa_len, so your change will probably
cause problems for other systems.  So, it looks like we need 2 configure
tests and separate defines for sa_len and sin_len.

..wayne..


More information about the rsync mailing list