<C> Re: <C> Re: [darcs-users] WinXP filenames with spaces
Andrew Lawson
adl at absentis.com
Thu Jan 27 08:42:39 UTC 2005
On Thu, Jan 27, 2005 at 08:30:43AM +0000, Andrew Lawson wrote:
> On Wed, Jan 26, 2005 at 10:01:44PM -0700, Will wrote:
> > adl at absentis.com (Andrew Lawson) writes:
> >
> > > Hello
> > > I've run across a problem with darcs on WinXP. I'm using the putty
> > > tools and darcs push (to a linux server) fails with a 'cannot find the
> > > file specified' error which i suspect is coming from psftp or pscp. More
> > > interestingly this only occurs when the repository itself is under a
> > > directory with spaces in the file path, in this case c:/Documents and
> > > Settings/... Could it be that darcs is not escaping or quoting the paths
> > > it passes to external programs?
> >
> > This is exactly the problem, as also noticed by Joachim Worringen.
> > I've sent in a patch to quote the arguments and it is also applied to
> > today's daily build available at http://glozer.net/darcs/daily/
>
> 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.
Andrew
--
Andrew Lawson
adl at absentis.com
http://www.absentis.com
More information about the darcs-users
mailing list