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

2004-02-25 Thread Petter Reinholdtsen
The last versions of rsync fail to compile on Tru64 Unix (alpha), because of a typo in configure.in. The problem is that the code in configure check for sockaddr.sa_len, while the code uses sockaddr.sin_len. This patch fixes the problem. Please include it in the next version of rsync. diff

Re: patch to avoid race condition in rsync 2.5.6

2004-02-25 Thread Petter Reinholdtsen
Any hopes of getting this patch included into rsync? The problem is still present in rsync 2.6.0. [Petter Reinholdtsen, 2003-05-20] There is a small race condition in rsync 2.5.6. When the transfer is finished, and the file is moved into place, there is a short time period where the new

[PATCH] fix AIX compile

2004-08-18 Thread Petter Reinholdtsen
Hi. I needed to do this small change to rsync.h to get rsync 2.6.2 to compile on AIX. The problem is that the extra comma is illegal (someone forgot to add support for it) in C89, and the AIX compiler do not accept it. The compiler I'm using is not yet updated to support C99 where the comma

Re: patch to avoid race condition in rsync 2.5.6

2004-08-18 Thread Petter Reinholdtsen
[Wayne Davison, 2004-02-25] Unfortunately, that patch is too simplistic -- e.g. it doesn't handle the case where the file had to be copied into place. I'll try to come up with a better patch, but I do want to be sure we think though any repercussions before I commit a change like this.

Re: patch to avoid race condition in rsync 2.5.6

2004-08-19 Thread Petter Reinholdtsen
[Wayne Davison] That patch was included in the 2.6.3pre1 release (though a small portion of it proved to be unneeded and was not applied). See the rsync.samba.org web site for the source (and there's a debian release in experimental which has a version of 2.6.2.pre3.1-1 because the official