Hi Danny,

Pedro Alves wrote:
> Just a heads up.
> 
> I've tested your patch, but unfortunatelly, it still doesn't
> fix the recursive directory copy mode for me.  I was testing an
> extended fix, based on exporting a fixpath variant from
> libcwd, and calling it on a few extra places, but stumbled on
> 2 gdbserver bugs (Fixed both, commited one fix one upstream,
> and I'll hold the other for a while, to see if I can come
> up with a better solution),  and tripped on the same code
> gen bug commented on cwd.c.  I'm now working on understanding
> the root cause of it, and either fix it, or work around
> it again.
> 


> Please give me a few more days on this.
> 

Long story short:  I took the path of working around it, get a
working rcp out, and look at gcc later.  At the pace I'm getting
free time, it would take ages otherwise.

So, I've ended up porting the rcp from inetutils (even found an
age old bug in it and fixed it upstream :) ).  It is uploaded at
src/tools/rcp2.  I was finding myself looking at the old code
with the attitude of "damn that's ugly", so now I don't have to
look at it again :)  The porting itself was very invasive, but
it needn't be.  But once I got it working, I didn't feel like
starting from stratch again just to maintain synced with upstream,
especially since this port doesn't deserve to be sent upstream -
it is just a port of rcp.c not the full inetutils package.

Anyway, please give it a spin.  It depends on an updated
src/tools/, src/mingw and src/w32api.  I've also just
commited a fix to rshd to fix the bug that made the host
rcp sometimes hang after finishing the copy.

I tested rcp2 by doing normal file copies, and recursive
directory copies in both directions.  I don't have a real
rcp server to test if we're doing anything wrong.

Cheers,
Pedro Alves



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to