← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 674816] Re: share rehashing system should be updated

 

I'd just like to ensure (I scanned the attached .7z file but it's hard to spot all the differences without an actual diff) that this doesn't break DC++ under WINE per the testing in DCDev Public. This appears to imply something akin to one of
(1) detecting WINE and falling back to regular share scans;
(2) keeping regular share scans and merely adding additional instant-file-addition/removal detection; or
(3) having a setting to disable it.

If the existing code already does something like this or functionally
similar, that's great, but it's just tricky to determine for sure.

-- 
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/674816

Title:
  share rehashing system should be updated

Status in DC++:
  Incomplete

Bug description:
  currently the share rescan/rehashing system is designed such that it re-scans the entire directory tree after a certain amount of time.  instead dc++ should use the ReadDirectoryChangesW windows API command to be instantly notified by windows when files are created or modified, removing the need to scan entirely except for on startup.  see http://www.codeguru.com/forum/showthread.php?t=436716 for a simplified code sample.





References