Re: rsync-2.6.9pre2: undeclared variable in source code

2006-10-16 Thread Wayne Davison
On Mon, Oct 16, 2006 at 08:11:40AM -0600, Nelson H. F. Beebe wrote: > A build of rsync-2.6.9pre2 on DEC Alpha OSF/1 4.0 failed because of > an undeclared variable at lib/inet_ntop.c:84: > > memcpy(dst, tmp, len + 1); I apparently left out the code that set "len". The attached patch fixes t

rsync-2.6.9pre2: undeclared variable in source code

2006-10-16 Thread Nelson H. F. Beebe
A build of rsync-2.6.9pre2 on DEC Alpha OSF/1 4.0 failed because of an undeclared variable at lib/inet_ntop.c:84: memcpy(dst, tmp, len + 1); len is not declared; the code looks like the third argument should instead be the value strlen(tmp) + 1 I made that change, restarted the