Re: rsync local dir copy hang - solved for me

2003-10-28 Thread Mark Paulus
Would it be possible to get the testcase? I have an idea for a fix, and would like to try it out on the testcases that I can see. Thanks. On Sat, 25 Oct 2003 12:17:46 +0200, Corinna Vinschen wrote: >On Fri, Oct 24, 2003 at 07:41:54AM -0700, Bakken, Luke wrote: >> It never got past cygwin_select

RE: rsync local dir copy hang - solved for me

2003-10-25 Thread Hannu E K Nevalainen
> From: Corinna Vinschen > Sent: Saturday, October 25, 2003 12:18 PM > > On Fri, Oct 24, 2003 at 07:41:54AM -0700, Bakken, Luke wrote: > > It never got past cygwin_select(). > > [...] Hannu: > > > The bottom point: *don't do that* ;-) > > > i.e. leave the msleep() call there. > > > > If I leave

Re: rsync local dir copy hang - solved for me

2003-10-25 Thread Corinna Vinschen
On Fri, Oct 24, 2003 at 07:41:54AM -0700, Bakken, Luke wrote: > It never got past cygwin_select(). > [...] > > The bottom point: *don't do that* ;-) > > i.e. leave the msleep() call there. > > If I leave msleep there, it hangs every time. So I'm taking it out. Now, But Hannu is right. Why not r

RE: rsync local dir copy hang - solved for me

2003-10-24 Thread Bakken, Luke
> Hmm? Is waitpid() a blocking call or not? WRT "WNOHANG" it > looks like an > unblocking one... Yep. > Thus I'm assuming it doesn't block and that msleep() is > something internal > to rsync, using usleep() or some such. It uses select(). When I used strace on a non-modified version of rsyn

RE: rsync local dir copy hang - solved for me

2003-10-24 Thread Hannu E K Nevalainen
> From: Mark Thornton > Sent: Friday, October 24, 2003 12:13 PM Mark, please - even if your repliy might seem a bit personal - do keep replies on the list. There might be some little spark, that makes others have a fire lit (i.e. get a bright idea). > >The bottom point: *don't do that* ;-) > >

RE: rsync local dir copy hang - solved for me

2003-10-24 Thread Hannu E K Nevalainen
> From: Bakken, Luke > Sent: Friday, October 24, 2003 4:19 AM > Hi all, > > I was attempting to use rsync (v 2.5.6) to copy one local directory to > another on my machine (Windows XP) today when I experienced the dreaded > hang. It copied the files, and hung waiting for a child process to exit. >

Re: rsync local dir copy hang - solved for me

2003-10-23 Thread Larry Hall
At 10:34 PM 10/23/2003, Peter J. Stieber you wrote: >I'm just a user and follower of cygwin, but it amazes me how many people put >the output of > >> cygcheck -s output: > >or cygcheck -svr in the body of their email instead of as an attachment when >every stinking email has > >http://cygwin.com/pr

Re: rsync local dir copy hang - solved for me

2003-10-23 Thread Peter J. Stieber
I'm just a user and follower of cygwin, but it amazes me how many people put the output of > cygcheck -s output: or cygcheck -svr in the body of their email instead of as an attachment when every stinking email has http://cygwin.com/problems.html at the bottom of it and that page has "Run cygc