Hasanat Kazmi wrote:
Hello,
I am looking into possibilities of porting RSync for windows. Does anybody
have an idea that which libraries and dependencies RSync uses which can not
be compiled on windows (so thats why we use cygwin)

I have not looked at this in a few years, but the issues is more that rsync initializes some data structures and then forks off processes.

But it is doable. I make an experimental proof of concept port where I converted it to use posix threads instead of forked processes.

With the code base that I worked on, the main thing was identifying which of the common or static variables are modified by more than one thread.

The experimental version was working well enough that I could keep a local copy of the rsync source code in sync on my system with it.

I had set up a system to use editor macros to re-apply my changes to the lastest source, but had to move on to other things before I completed the port.

I currently use the experimental port binary several times a week for keeping my system up to date with blead-perl source.

Good Luck,
-John
wb8...@qsl.net
Personal Opinion Only

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to