← Back to team overview

linuxdcpp-team team mailing list archive

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

 

That patch seems to be very complicated for me. Especially those
comments as "bad bad", "fixme: " or "FIX FIX FIX FIX FIX THIS.  NEVER
DEALLOCATED". I don't think it should be implemented in DC++ in such
way.

-- 
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++:
  New

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