> Has *anybody* been able to figure out a fix for this that really works?

Why does the receiving child wait in a loop to get killed, rather than
just exit()?  I presume cygwin has some problem or race condition in the
wait loop, kill and wait_process().

The pipe to the parent will read 0 bytes (EOF) on the parent side after
the child exits.

Although I haven't tried it, I would guess this should be the reliable
solution on all platforms.  But there must be some good reason the wait
loop, kill and wait_process() contortions appeared in the code (maybe
some race condition with the remote side?)...

Craig
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html

Reply via email to