On 10 May 2002, Max Bowsher <[EMAIL PROTECTED]> wrote: > The problem was especially severe here, because rsync didn't even > close the socket in these cases - it would write its last data, then return a > couple of times, and exit().
It should not matter: The function _exit terminates the calling process "immediately". Any open file descriptors belonging to the process are closed; any children of the process are inherited by process 1, init, and the process's parent is sent a SIGCHLD signal. > We could have a shutdownsocket(). Is it worth it for just for 2 lines of code? > shutdown(fd, SHUT_WR); > close(fd); Yes, because (if this is really necessary) then it's a workaround for a platform bug and so not obvious. After thinking about it a bit more I'm somewhat inclined to call it a bug in Cygwin and try to get them to fix it. > PS: Someone mentioned that 2.5.6 has branched in CVS. I'm a bit of a > CVS newbie unfortunately - what is the command for 'what branches > exist in the repository?' "cvs log" or http://cvs.samba.org/ will show you all the tags and branches. But at the moment there is only really one branch. -- Martin -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html