patch: dirwatcher changes missed when renaming folders
From: Gunnar Dalsnes <hardon_at_online.no>
Date: Thu, 17 Sep 2009 14:42:27 -0700 (PDT)
Debugged a problem when renaming folders: ' numberOfBytesTransfered is bougus when renaming a folder, numberOfBytesTransfered is always 0, even if buffer contains valid changes, so we can only rely on the buffer, even if ReadDirectoryChanges docs states that if numberOfBytesTransfered is 0 the kernel buffer is over flooded... Had a look at, http://www.codeproject.com/KB/files/directorychangewatcher.aspx, they ignore numberOfBytesTransfered as well, only rely on the buffer.
This is an archived mail posted to the TortoiseSVN Dev mailing list.