CVS update: rsync

Martin Pool mbp at
Mon Dec 17 11:18:12 EST 2001

On 14 Dec 2001, dwd at wrote:

> Modified Files:
> 	options.c 
> Log Message:
> When INET6 is not defined, meaning that IPv6 is not supported, need to
> initalize the global_opts.af_hint to AF_INET or systems such as Linux that
> have a native getaddrinfo() because they support IPv6 will attempt to
> create IPv6 sockets.  This brings up a problem with the new global_opts
> structure; in order to initialize them to a value other than 0, we need to
> explicitly initialize them all in an order that matches the order in
> rsync.h. > I think that's more inconvenient & error prone than keeping
> global variables.

I see your point...  Should we get rid of it, or add an initialization


More information about the rsync mailing list