<C> Re: [darcs-users] WinXP filenames with spaces

Andrew Lawson adl at absentis.com
Thu Jan 27 16:52:16 UTC 2005


On Thu, Jan 27, 2005 at 09:35:09AM -0700, Will wrote:
> Andrew Lawson <adl at absentis.com> writes:
> 
> > On Thu, Jan 27, 2005 at 06:36:55AM -0500, David Roundy wrote:
> >> On Thu, Jan 27, 2005 at 08:42:39AM +0000, Andrew Lawson wrote:
> >> > > I can confirm that this seems to solve the problem thought now that
> >> > > darcs is pushing the patch it's been hanging for nearly 10 minutes ...
> >> > > but that's another issue :)
> >> > 
> >> > In fact i can now confirm that I've getting an error at this point, if
> >> > left alone nothing happens, if I press return on the console I get the
> >> > error;
> >> > 
> >> > Fail: <stdin>: hSetBuffering: failed (Bad file descriptor)
> >> > 
> >> > This is yesterdays (26) daily build on WinXP pushing a 1 line patch to a
> >> > Linux machine.
> >> 
> >> When exactly is it that darcs freezes, and is there any output prior to the
> >> freeze? Can you tell if ssh is getting called?
> >
> > I wasn't hugely clear was I :) Basically, following on from the previous
> > problem with spaces in file names, as soon as I hit 'y' to push a patch,
> > where I used to get the filename error, now the cursor moves to the next
> > line and ... nothing. I can leave it there for several minutes at least
> > with no movement or, after a few seconds (> 7 at a quick estimate) have
> > passed, a tap on the return button will produce the 'Fail' above.
> > There's no other output.
> 
> This sounds like a problem with the interactive prompting code, but
> I've never seen it happen locally.  What type of shell are you running
> darcs from? Windows' cmd.exe, or perhaps a unix shell and/or xterm
> port like rxvt?

Both windows cmd.exe and the bash term from cygwin show identical
behaviour.

> Does the problem occur if you do a local push? During any other
> commands like record?

I've just tried to push my repo to a blank local repository and got the
same problem, as I mentioned before, it requires that you wait a few
seconds after hitting 'y' before the error will appear.

        Andrew

-- 

Andrew Lawson
adl at absentis.com
http://www.absentis.com





More information about the darcs-users mailing list