Re: patches to enable rsync 3.0.6 compile on AIX 3.2

2009-05-14 Thread Wayne Davison
On Wed, May 13, 2009 at 11:26:32PM -0400, Ian! D. Allen wrote: > These two small changes enable 3.0.6 to compile and link on AIX 3.2: > #if defined(ENOTSUP) [...] > #else > errno = EINVAL; I think using ENOSYS would be better than EINVAL there. Does that work? BTW, using -u with d

patches to enable rsync 3.0.6 compile on AIX 3.2

2009-05-13 Thread Ian! D. Allen
These two small changes enable 3.0.6 to compile and link on AIX 3.2: diff -r rsync-3.0.6/lib/getaddrinfo.c rsync-3.0.6-new/lib/getaddrinfo.c 298c298 < if (!inet_aton(node, &ip)) { --- > if (!inet_pton(AF_INET, node, &ip)) { diff -r rsync-3.0.6/lib/sysac